1.0.2 • Published 5 years ago

@drifters/postman-to-swagger v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@drifters/postman-to-swagger 1.0.1

util to generate swagger file from a given postman collection

Prerequisite

  • node >= 6.9.1
  • npm ^3.10.10

Available Commands

Installation

You can install package either globally or locally
npm install @drifters/postman-to-swagger -g
generate the swagger file from a given postman collection
swagger-gen gen --baseUrl localhost:5005 --basePath /api/v1 --file swagger-exp-urp.postman_collection.json

Options

  • baseUrl : the baseUrl to be used
  • basePath : the basePath to be used
  • file: the path to postman collection

Roadmap

  • add test case
  • update to es6 format

Authors

  • suminksudhi

License

MIT