[BUG] [Typescript] [Axios] invalid syntax produced when using headers
Created by: sruehl
Description
using headers produces invalid code.
localVarHeaderParameter['{{baseName}}'] = {{paramName}}.join(COLLECTION_FORMATS["{{collectionFormat}}"]));
should be localVarHeaderParameter['{{baseName}}'] = {{paramName}}.join(COLLECTION_FORMATS["{{collectionFormat}}"]);
look for the last closing right parenthesis ')'
typescript-axios/api.mustache#L175
typescript-axios/api.mustache#L194
openapi-generator version
master HEAD
OpenAPI declaration file content or url
https://gist.github.com/sruehl/033bb26fc3de97533210d4aab269a55b
Command line used for generation
none
Steps to reproduce
use a header of type array
Related issues/PRs
#1864
Suggest a fix
remove the redundant parenthesis ')'