Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2020-11-08 16:55:56 +01:00
parent 8ba148617a
commit a30c3af09c
10 changed files with 41 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public class Swagger2Config extends WebMvcConfigurationSupport {
@Bean
public Docket createRestApi() {
return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()).select()
.apis(RequestHandlerSelectors.basePackage("com.plannaplan.controllers")).paths(PathSelectors.any())
.apis(RequestHandlerSelectors.basePackage("com.plannaplan")).paths(PathSelectors.any())
.build();
}