Pre Merge pull request !217 from Mr.Gong/N/A

pull/217/MERGE
Mr.Gong 1 year ago committed by Gitee
commit 3b01577d34
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -56,9 +56,6 @@ public class SwaggerAutoConfiguration
swaggerProperties.getExcludePath().addAll(DEFAULT_EXCLUDE_PATH);
}
List<Predicate<String>> excludePath = new ArrayList<>();
swaggerProperties.getExcludePath().forEach(path -> excludePath.add(PathSelectors.ant(path)));
ApiSelectorBuilder builder = new Docket(DocumentationType.SWAGGER_2).host(swaggerProperties.getHost())
.apiInfo(apiInfo(swaggerProperties)).select()
.apis(RequestHandlerSelectors.basePackage(swaggerProperties.getBasePackage()));

Loading…
Cancel
Save