You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every generated openapi code from typescript-angular fails, if the tsconfig.json compiler option exactOptionalPropertyTypes is set to true.
The reason is that in the constructor of configuration.ts a potential undefined value is assigned, although the corresponding property is only optional.
e.g.
Bug Report Checklist
Description
Every generated openapi code from
typescript-angular
fails, if thetsconfig.json
compiler optionexactOptionalPropertyTypes
is set totrue
.The reason is that in the constructor of
configuration.ts
a potentialundefined
value is assigned, although the corresponding property is only optional.e.g.
openapi-generator version
v7.10.0
probably no regression
OpenAPI declaration file content or url
this error occurs on every API definition. Steps below described to get the error within the given angular examples in the repo
Steps to reproduce
samples/client/petstore/typescript-angular-v19/builds/default/tsconfig.json
and addto the
compilerOptions
./bin/ts-typecheck-all.sh
Related issues/PRs
#14793
The text was updated successfully, but these errors were encountered: