Skip to content
Discussion options

You must be logged in to vote

Hi @savage-alex

Some context - OpenAPI specification:

If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
As defined in OpenAPI specification, these headers should be ignored as part of the parameter definition.

Portman is using under the hood "openapi-to-postman" to do the initial conversion from OpenAPI to Postman. "openapi-to-postman" follows this OpenAPI recommendation, which results in the conversion dropping all the Accept", "Content-Type" or "Authorization" headers defined in the OpenAPI document, from the generated Postman requests.

But like you said, there are a number of cases, where defining the "Cont…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@savage-alex
Comment options

Answer selected by thim81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants