forked from loafle/openapi-generator-original
minor improvements on java client based on intellji ide (#13864)
This commit is contained in:
@@ -42,7 +42,7 @@ public class ServerConfiguration {
|
||||
throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + ".");
|
||||
}
|
||||
}
|
||||
url = url.replaceAll("\\{" + name + "\\}", value);
|
||||
url = url.replace("{" + name + "}", value);
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user