@quinck/fastify-openapi-typescript-generator
v1.3.4
Published
Contains utilities to generate fastify types from openapi definition for the fastify framework.
Downloads
271
Readme
fastify-openapi-typescript-generator
Contains utilities to generate fastify types from openapi definition for the fastify framework. Particurarly generates routes handlers typed and can be used along with the fastify-openapi-glue package.
Installation
npm i @quinck/fastify-openapi-typescript-generator --save-dev
Usage
fastify-openapi-typescript --help
Usage: fastify-openapi-typescript [options]
CLI to generate openapi typscript types from openapi
Options:
-V, --version output the version number
-i, --input <value> OpenAPI specification path, can be both yaml or json (required)
-o, --output <value> Output directory (required)
-h, --help display help for command
fastify-openapi-route-configs --help
Usage: fastify-openapi-route-configs [options]
CLI to generate route configs from openapi
Options:
-V, --version output the version number
-i, --input <value> OpenAPI specification path, can be both yaml or json (required)
-o, --output <value> Output directory (required)
-h, --help display help for command
Contact
- Quinck: [email protected]
- Stefano Righini: [email protected]