extract-swagger-for-endpoints

1.0.3 • Public • Published

Extract swagger/openapi spec with only required endpoint(s).

npm i -g extract-swagger-for-endpoints

extract-swagger-for-endpoints --src sourcefile.yml --dest output.yml '/pet/findByStatus' '/pet'

extract-swagger-for-endpoints --src sourcefile.yml --list-paths

TODO:

  1. Fetch source yml from a url
  2. Add swagger schema verification step
  3. Remove unnecessay tags

Package Sidebar

Install

npm i extract-swagger-for-endpoints

Weekly Downloads

5

Version

1.0.3

License

MIT

Unpacked Size

27.9 kB

Total Files

11

Last publish

Collaborators

  • saumitrab