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

This commit is contained in:
Mr.Gong 2024-01-11 07:48:01 +00:00 committed by Gitee
commit 7699ddf2c9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 3 deletions

View File

@ -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()));