|
@ -70,7 +70,7 @@ public class Swagger3Config implements WebMvcConfigurer { |
|
|
|
|
|
|
|
|
openApi.getPaths().forEach((path, pathItem) -> { |
|
|
openApi.getPaths().forEach((path, pathItem) -> { |
|
|
// 只保留以/applet开头的路径 |
|
|
// 只保留以/applet开头的路径 |
|
|
if (path.startsWith("/applet")) { |
|
|
|
|
|
|
|
|
if (path.startsWith("/appletApi")) { |
|
|
// 检查当前路径是否在排除列表中 |
|
|
// 检查当前路径是否在排除列表中 |
|
|
boolean isExcluded = excludedPaths.stream().anyMatch(excludedPath -> |
|
|
boolean isExcluded = excludedPaths.stream().anyMatch(excludedPath -> |
|
|
excludedPath.equals(path) || |
|
|
excludedPath.equals(path) || |
|
|