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