swagger: removed duplicated group
This commit is contained in:
parent
3b898f6a3e
commit
1311afa993
|
@ -69,11 +69,6 @@ public class DNetOpenaireExporterApplication extends AbstractDnetApp {
|
||||||
return _docket("OpenAIRE Contexts", ContextApiController.class.getPackage().getName(), config.getSwaggerCommunities(), V1);
|
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) {
|
private Docket _docket(final String groupName, final String controllerPackage, final Swagger swag, final String version) {
|
||||||
final Docket d = new Docket(DocumentationType.SWAGGER_2);
|
final Docket d = new Docket(DocumentationType.SWAGGER_2);
|
||||||
configSwagger(d, groupName, controllerPackage, swag, version);
|
configSwagger(d, groupName, controllerPackage, swag, version);
|
||||||
|
|
Loading…
Reference in New Issue