Avoid showing Spring Framework specific services as part of Swagger interface
问题 I am using spring-boot-starter-parent 1.3.3.RELEASE. I am unable to disable the following endpoints in Swagger UI. Need To Disable:- Entity Metadata Services profile-controller repository-controller I disabled the following endpoints using the code.. Disabled endpoints:- environment-manager-mvc-endpoint generic-postable-mvc-endpoint restart-mvc-endpoint Code:- public Docket appHierarchyServiceApi() { return new Docket(DocumentationType.SWAGGER_2) .select() .apis(Predicates.not