https://github.com/starlog/swagger-codegen-typescript
A wrap-around typescript code generator on https://github.com/swagger-api/swagger-codegen
https://github.com/starlog/swagger-codegen-typescript
Last synced: about 1 month ago
JSON representation
A wrap-around typescript code generator on https://github.com/swagger-api/swagger-codegen
- Host: GitHub
- URL: https://github.com/starlog/swagger-codegen-typescript
- Owner: starlog
- Created: 2022-08-09T01:45:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-10T04:40:34.000Z (12 months ago)
- Last Synced: 2025-09-23T23:26:45.806Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 20.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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)
~~~