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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i extract-swagger-for-endpoints

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

27.9 kB

Total Files

11

Last publish

Collaborators

  • saumitrab