swagger-codegen-typescript

1.2.7 • Public • Published

This npm CLI tool generate various boilerplate files from your YAML to typescript.
This will add jest test environment and eslint as well. All you need to do is creating your business logic!

This npm includes 'swagger-codegen-cli.jar' from https://github.com/swagger-api/swagger-codegen. If you feel unsure, please download by yourself and replace with one from this npm.

How to install

sudo npm install -global swagger-codegen-typescript

How to use

Run command (or set alias/shell script)

swagger-codegen-typescript ~/src/washswat-api-spec/specification/order/api-order-v1-ui-get-pickup-date-list.yaml ~/src/example
swagger-codegen-typescript gen (yaml file) (destination)

Readme

Keywords

Package Sidebar

Install

npm i swagger-codegen-typescript

Weekly Downloads

120

Version

1.2.7

License

MIT

Unpacked Size

21.9 MB

Total Files

18

Last publish

Collaborators

  • felixcho