We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As defined in the OAS 3 spec, you should be able to use multiple security schemes together in a few different ways:
security: # A OR B - A - B
security: # A AND B - A B
security: # (A AND B) OR (C AND D) - A B - C D
I have found that when using A AND B in my OAS 3.0.3 spec that the generated postman collection only respects A and does not include B.
A AND B
A
B
Below is a representative sample of my spec:
paths: /somepath: get: description: get something operationId: get something security: - bearerAuth: [] apiKey: [] components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT apiKey: type: apiKey name: x-custom-apikey in: header
The generated collection only includes a header for the bearerAuth security scheme and not the apiKey.
bearerAuth
apiKey
The text was updated successfully, but these errors were encountered:
@jjcollinge this might be related: postmanlabs/openapi-to-postman#465
i think it's an issue with the underlying postman convertor rather than with the portman library
Sorry, something went wrong.
@JaredAAT thanks for the response. Looks like you're right, thanks for spotting that!
No branches or pull requests
As defined in the OAS 3 spec, you should be able to use multiple security schemes together in a few different ways:
I have found that when using
A AND B
in my OAS 3.0.3 spec that the generated postman collection only respectsA
and does not includeB
.Below is a representative sample of my spec:
The generated collection only includes a header for the
bearerAuth
security scheme and not theapiKey
.The text was updated successfully, but these errors were encountered: