2.5.0 • Published 4 years ago
swag2ts v2.5.0
Todo
npm install -g swag2ts
Automatically generate Typescript namespaces from Swagger definitions
Quick-start
# install
npm install -g swag2ts
# or
yarn global add swag2ts
# run against a single JSON file
swag2ts dir/myfile.json
# or pipe json to it
curl http://some.swagger.api/schema | swag2ts --stdin
Todo
- GET url params
- simpler local refs in definitions
- array refs
- test + lint + build in npm test
- CLI stdin
- CLI files
- API
- support multiple file outputs
- support separating paths from definitions in multi-file output