forked from loafle/openapi-generator-original
Include support to Mojolicious relaxed placeholders (#17633)
This commit is contained in:
@@ -159,7 +159,7 @@ class ApiClient {
|
||||
url = apiBasePath + path;
|
||||
}
|
||||
|
||||
url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
|
||||
url = url.replace(/\{([\w-\.#]+)\}/g, (fullMatch, key) => {
|
||||
var value;
|
||||
if (pathParams.hasOwnProperty(key)) {
|
||||
value = this.paramToString(pathParams[key]);
|
||||
|
||||
Reference in New Issue
Block a user