forked from loafle/openapi-generator-original
Use unescaped path in API client templates (#5154)
* use unescaped path in api client templates * use unescape basePath in API client templates
This commit is contained in:
@@ -210,7 +210,7 @@ class {{classname}}(object):
|
||||
# Authentication setting
|
||||
auth_settings = [{{#authMethods}}'{{name}}'{{#hasMore}}, {{/hasMore}}{{/authMethods}}]
|
||||
|
||||
return self.api_client.call_api('{{path}}', '{{httpMethod}}',
|
||||
return self.api_client.call_api('{{{path}}}', '{{httpMethod}}',
|
||||
path_params,
|
||||
query_params,
|
||||
header_params,
|
||||
|
||||
Reference in New Issue
Block a user