parent
e3979d0b02
commit
0cd9098151
|
@ -77,7 +77,7 @@ public class Swagger2Parser extends SwaggerAbstractParser {
|
||||||
parseParameters(operation, request);
|
parseParameters(operation, request);
|
||||||
addBodyHeader(request);
|
addBodyHeader(request);
|
||||||
if (StringUtils.isNotBlank(basePath)) {
|
if (StringUtils.isNotBlank(basePath)) {
|
||||||
String pathStr = basePath + apiDefinition.getPath().replaceAll("//","/");
|
String pathStr = (basePath + apiDefinition.getPath()).replaceAll("//","/");
|
||||||
apiDefinition.setPath(pathStr);
|
apiDefinition.setPath(pathStr);
|
||||||
request.setPath(pathStr);
|
request.setPath(pathStr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue