Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit a1c6023

Browse files
committed
feat: Fixed the pathPrefix generation error in the OpenAPI document.
1 parent dd9f922 commit a1c6023

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/ly/doc/builder/openapi/AbstractOpenApiBuilder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ public Map<String, Object> buildPaths(ApiConfig apiConfig, ApiSchema<ApiDoc> api
181181
String[] paths = methodDoc.getPath().split(";");
182182
for (String path : paths) {
183183
path = path.trim();
184-
if (StringUtil.isNotEmpty(apiConfig.getPathPrefix())) {
185-
path = path.replace(apiConfig.getPathPrefix(), "");
186-
}
187184
Map<String, Object> request = this.buildPathUrls(apiConfig, methodDoc, methodDoc.getClazzDoc(),
188185
apiSchema.getApiExceptionStatuses());
189186
if (!pathMap.containsKey(path)) {

0 commit comments

Comments
 (0)