We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e434d commit 781458bCopy full SHA for 781458b
modules/swagger-codegen/src/main/resources/TypeScript-Angular/api.mustache
@@ -27,7 +27,7 @@ module {{package}} {
27
var path = this.basePath + '{{path}}';
28
29
{{#pathParams}}
30
- path = path.replace('{' + '{{paramName}}' + '}', String({{paramName}}));
+ path = path.replace('{' + '{{baseName}}' + '}', String({{paramName}}));
31
32
{{/pathParams}}
33
var queryParameters: any = {};
@@ -44,7 +44,7 @@ module {{package}} {
44
{{/allParams}}
45
{{#queryParams}}
46
if ({{paramName}} !== undefined) {
47
- queryParameters['{{paramName}}'] = {{paramName}};
+ queryParameters['{{baseName}}'] = {{paramName}};
48
}
49
50
{{/queryParams}}
0 commit comments