I have a set of Swagger file that defines the parameters in the usual manner. For instance:
parameters:
- $ref: '#/parameters/authorization'
...
parameters:
authorization:
name: Authorization
description: ''
required: true
type: string
in: header
Upon importing these file into Postman, the Postman collection is correctly created, however I'd like the Postman variable for the "Authorization" parameter to be "AUTH_TOKEN" instead of "Authorization" (for instance).
Effectively, I want to declare a field (ideally in the swagger file?) that says "when exported to Postman, used the value AUTH_TOKEN as the variable name, instead of the default 'name' of "Authorization").
It seemed like x-postman-meta in the swagger might help with, but didn't find any info on this property outside of the GH issue on here saying it might help.
Anyhow - how can I achieve this?