postmanlabs / swagger2-postman2

Module and library to convert Swagger 2.0 to a Postman Collection (v2.0)
Apache License 2.0
81 stars 42 forks source link

#21 folder collapse #24

Open zjrunner opened 5 years ago

zjrunner commented 5 years ago

Add new functionality to address #21 - collapsing long routes.

This will take a set of folders a/b/c/d/e/f with no requests between and compress the folders to a single root "a/…/f". It does this with folder chains throughout the tree.

Also adds Merge, which will merge two swagger2 specs together, overriding the names and requests with the right copy, but maintaining IDs and info from the left copy.