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
The OpenAPI v2 Spec states that the "flow" field of the security scheme accepts "accessCode". However, the ToV3SecurityScheme function of the openapi2_conv.go package only accepts "accesscode" (lowercase). This is causing issues when trying to convert a valid v2 definition to v3.
Maybe just adding a strings.ToLower() to the switch statement would be the most simple solution to this issue.
The text was updated successfully, but these errors were encountered:
The OpenAPI v2 Spec states that the "flow" field of the security scheme accepts "accessCode". However, the
ToV3SecurityScheme
function of the openapi2_conv.go package only accepts "accesscode" (lowercase). This is causing issues when trying to convert a valid v2 definition to v3.Maybe just adding a
strings.ToLower()
to the switch statement would be the most simple solution to this issue.The text was updated successfully, but these errors were encountered: