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
Given an OAS 3.0 spec that defines securitySchemes component (e.g. api-key) and a global security Requirement Object, the operation.securityDefinitions should be {"api-key":{"in":"query","name":"apikey","type":"apiKey"}}".
The issue may be related to this code in operation.js - securityDefinitions is undefined in OAS3. Instead, they were renamed to components.securitySchemes and the equivalent should be accessible at pathObject.api.definitionFullyResolved.components.securitySchemes.
The text was updated successfully, but these errors were encountered:
Expected outcome
Given an OAS 3.0 spec that defines
securitySchemes
component (e.g. api-key) and a globalsecurity
Requirement Object, theoperation.securityDefinitions
should be{"api-key":{"in":"query","name":"apikey","type":"apiKey"}}"
.Actual outcome
The
operation.securityDefinitions
is empty{}
.The issue may be related to this code in operation.js -
securityDefinitions
is undefined in OAS3. Instead, they were renamed tocomponents.securitySchemes
and the equivalent should be accessible atpathObject.api.definitionFullyResolved.components.securitySchemes
.The text was updated successfully, but these errors were encountered: