mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
Use the baseName when referring to header parameters.
This commit is contained in:
parent
781458b0d1
commit
c83c564a19
@ -49,7 +49,7 @@ module {{package}} {
|
||||
|
||||
{{/queryParams}}
|
||||
{{#headerParams}}
|
||||
headerParams['{{paramName}}'] = {{paramName}};
|
||||
headerParams['{{baseName}}'] = {{paramName}};
|
||||
|
||||
{{/headerParams}}
|
||||
var httpRequestParams: any = {
|
||||
|
Loading…
Reference in New Issue
Block a user