openapi-to-postman
openapi-to-postman copied to clipboard
Feature Request - Link the collection with environment variable via extensions
We can add support for custom fields like x-env-var
, so users can add something like
securitySchemes:
PostmanAccessTokenAuth:
type: apiKey
in: header
name: x-access-token
x-env-var: {{env_var_name}}
And instead of adding a placeholder value, we can add this variable if available.
This could be a way to link the generated collection with the environment users provide in the API Version.
@raghavgarg1257, A quick question for you, How would this specification be used outside the Postman ecosystem? I am presuming that this open API spec is generated/written outside the Postman ecosystem and is being used to generate a collection.