Skip to content

A type definition generator from Open API 3.0 spec.

License

Notifications You must be signed in to change notification settings

ryo-rm/openapi-ts-gen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A type definition generator from Open API 3.0 spec.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.6%
  • HTML 21.2%
  • JavaScript 0.2%