2.5.0 • Published 4 years ago

swag2ts v2.5.0

Weekly downloads
220
License
MIT
Repository
-
Last release
4 years ago

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
2.5.0

4 years ago

2.4.4

4 years ago

2.4.3

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago