A type definition generator from Open API 3.0 spec.
$ yarn add openapi-ts-gen
$ openapi-ts-gen generate swagger.yml --namespace PetStore --dist types
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>
MIT