We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb1e41 commit 5e78362Copy full SHA for 5e78362
src/main/java/com/didispace/swagger/SwaggerAutoConfiguration.java
@@ -45,9 +45,9 @@ public Docket createRestApi(SwaggerProperties swaggerProperties) {
45
.build();
46
47
// 当没有配置任何path的时候,解析/**
48
-// if(swaggerProperties.getBasePath().isEmpty()) {
49
-// swaggerProperties.getBasePath().add("/**");
50
-// }
+ if(swaggerProperties.getBasePath().isEmpty()) {
+ swaggerProperties.getBasePath().add("/**");
+ }
51
52
List<Predicate<String>> basePath = new ArrayList();
53
for(String path : swaggerProperties.getBasePath()) {
0 commit comments