去除多余swagger代码

pull/217/head
programgsq 3 years ago committed by Gitee
parent cc0e184314
commit 2be9255a80
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -62,9 +62,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