joolfe / postman-to-openapi

🛸 Convert postman collection to OpenAPI
MIT License
577 stars 99 forks source link

feature: ignore certain paths #265

Open guyappy opened 10 months ago

guyappy commented 10 months ago

I'd like to propose a feature.

In my postman collection I have a number of requests, and the first request in the list typically is an API call to an authentication endpoint to retrieve an auth token. This token is then subsequently used in the next requests.

This auth request is only there for automation purposes (i.e. the postman collection can be run in a pipeline for example).

when generating openapi spec based on the postman collection, I'd like to indicate the conversion to ignore the /auth path for example.

does that make sense? I can create a PR if needed.