@webbmaffian/generate-openapi-jsdoc
v1.0.2
Published
Generate JSdoc types from an OpenAPI spec
Downloads
2
Readme
@webbmaffian/generate-openapi-jsdoc
Command line tool to generate JSdoc types from an OpenAPI spec.
Installation
npm i -g @webbmaffian/generate-openapi-jsdoc
Usage
generate-openapi-jsdoc -i <URL to an OpenAPI JSON file> -o ./path/to/output.js
Options:
-V, --version
- output the version number-i, --input <url>
- URL pointing to an OpenAPI JSON file-o, --output <path>
- Path where to the generated JS file. If omitted the output is sent to stdout.-h, --help
- display help for command