Swagger Typegen
Run yarn
to install dependencies.
Typegen is globally installable as an npm cli tool.
To install it run npm link
from the root of the project.
typegen example/input.json -o example/output.ts
Parameters
- input (required) - The path to swagger file in JSON format
- -o, --output [filename] (optional) - the path to the output file. By skipping this param, the output is returned in the terminal.