Library that generates express Typescript types based on the OpenAPI specification.
npm install openapi-express-codegen> Node.js library that generates express Typescript types based on the OpenAPI specification.
```
npm install openapi-express-codegen --save-dev
`
$ express-gen --help
Usage: express-gen [options]
Options:
-V, --version output the version number
-i, --input
-o, --output
--useUnionTypes Use union types instead of enums
--exportInterfaces
--exportModels
--exportSchemas
--indent
--postfix
-h, --help display help for command
Examples
$ express-gen --input ./spec.json --output ./generated
``
This project is based on: openapi-typescript-codegen