Skip to content

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

Notifications You must be signed in to change notification settings

saumitrab/extract-swagger-for-endpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published