You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this library only uses the first key of a security requirement object as the required security scheme. We should support all security schemes listed in a security requirement.
For example, an OpenAPI operation may have a security requirement of:
Note: to support multiple schemes or type apiKey in one operation, the configuration argument should accept the api keys by their name rather than just apiKey. The apiKey field can be used as a backup if the name of the api key is not supplied. The same should NOT be true for security schemes of type http or oauth2 because they use a specific header format and support for multiple values are not defined in their specs.
The text was updated successfully, but these errors were encountered:
Currently this library only uses the first key of a security requirement object as the required security scheme. We should support all security schemes listed in a security requirement.
For example, an OpenAPI operation may have a security requirement of:
Which corresponds to security schemes in such as:
Note: to support multiple schemes or type
apiKey
in one operation, the configuration argument should accept the api keys by their name rather than justapiKey
. TheapiKey
field can be used as a backup if the name of the api key is not supplied. The same should NOT be true for security schemes of typehttp
oroauth2
because they use a specific header format and support for multiple values are not defined in their specs.The text was updated successfully, but these errors were encountered: