openapi-ts-gen

0.0.23 • Public • Published

openapi-ts-gen npm version

A type definition generator from Open API 3.0 spec.

Install

$ yarn add openapi-ts-gen

How to use

$ openapi-ts-gen generate swagger.yml --namespace PetStore --dist types

CLI Options

Usage: openapi-ts-gen [options] [command]

Generate type definitions from swagger specs

Options:
  -V, --version              output the version number
  -h, --help                 output usage information

Commands:
  generate [options] <file>

License

MIT

Package Sidebar

Install

npm i openapi-ts-gen

Weekly Downloads

3

Version

0.0.23

License

MIT

Unpacked Size

50.2 kB

Total Files

46

Last publish

Collaborators

  • andoshin11