A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.
Adopt "strictest" typescript base settings, and adjust code generation to support this
Fix various typescript errors that popped up
Avoiding passing timeout key when no timeout passed for axios to be compatible with exactOptionalPropertyTypes
Attempt to read and parse the tsconfig.json for specified output directory
For typescript-koa include | undefined on optional properties when exactOptionalPropertyTypes is configured
This shouldn't be required for the clients, as in this case the consumer can choose to omit keys
Though maybe it's more ergonomic to follow this behavior anyway?
Not dealt with stripping unused imports so far
It should be relatively easy to adjust the way imports are handled in the type / schema builders to not import things that aren't used in the main file
Adopt "strictest" typescript base settings, and adjust code generation to support this
timeout
key when no timeout passed for axios to be compatible withexactOptionalPropertyTypes
tsconfig.json
for specified output directorytypescript-koa
include| undefined
on optional properties whenexactOptionalPropertyTypes
is configured