new-exporter #5
|
@ -69,11 +69,6 @@ public class DNetOpenaireExporterApplication extends AbstractDnetApp {
|
|||
return _docket("OpenAIRE Contexts", ContextApiController.class.getPackage().getName(), config.getSwaggerCommunities(), V1);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Docket info() {
|
||||
return _docket("OpenAIRE Info", InfoController.class.getPackage().getName(), config.getSwaggerInfo(), V1);
|
||||
}
|
||||
|
||||
private Docket _docket(final String groupName, final String controllerPackage, final Swagger swag, final String version) {
|
||||
final Docket d = new Docket(DocumentationType.SWAGGER_2);
|
||||
configSwagger(d, groupName, controllerPackage, swag, version);
|
||||
|
|
Loading…
Reference in New Issue