Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc87112 committed Aug 9, 2017
1 parent 2bb1e41 commit 5e78362
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public Docket createRestApi(SwaggerProperties swaggerProperties) {
.build();

// 当没有配置任何path的时候,解析/**
// if(swaggerProperties.getBasePath().isEmpty()) {
// swaggerProperties.getBasePath().add("/**");
// }
if(swaggerProperties.getBasePath().isEmpty()) {
swaggerProperties.getBasePath().add("/**");
}

List<Predicate<String>> basePath = new ArrayList();
for(String path : swaggerProperties.getBasePath()) {
Expand Down

0 comments on commit 5e78362

Please sign in to comment.