Hi, we love using the generator but the follwoing line is causing errors in our angular project (strict-null-checks enabled) since "apiKeys" is possibly undefined. Would be great if "apiKeys" had a null/undefined check with a default same as "credentials" or if the fallback is removed as suggested by the comment. Thank you in advance.
|
return this.apiKeys['{{name}}'] || this.apiKeys['{{keyParamName}}']; |
Hi, we love using the generator but the follwoing line is causing errors in our angular project (strict-null-checks enabled) since "apiKeys" is possibly undefined. Would be great if "apiKeys" had a null/undefined check with a default same as "credentials" or if the fallback is removed as suggested by the comment. Thank you in advance.
openapi-generator/modules/openapi-generator/src/main/resources/typescript-angular/configuration.mustache
Line 67 in cc5e0fe