@quinck/fastify-openapi-typescript-generator
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

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

Package Sidebar

Install

npm i @quinck/fastify-openapi-typescript-generator

Weekly Downloads

171

Version

1.3.4

License

ISC

Unpacked Size

30.4 kB

Total Files

21

Last publish

Collaborators

  • paologaleotti2
  • stefano.righini
  • quinck-srl