17 lines
447 B
Java
17 lines
447 B
Java
|
package eu.dnetlib.validatorapi.configuration;
|
||
|
|
||
|
|
||
|
/*@EnableSwagger2
|
||
|
@Configuration*/
|
||
|
public class SwaggerConfig {/*extends WebMvcConfigurationSupport {
|
||
|
|
||
|
@Bean
|
||
|
public Docket api() {
|
||
|
return new Docket(DocumentationType.SWAGGER_2)
|
||
|
.select()
|
||
|
.apis(RequestHandlerSelectors.basePackage("eu.dnetlib.validatorapi.controllers"))
|
||
|
.paths(PathSelectors.any())
|
||
|
.build();
|
||
|
}*/
|
||
|
}
|