Skip to content

Conversation

jomarquez21
Copy link

Problem

When security is present, even with empty content (like "security": []), the generator takes the operation as secured (which is wrong since there is no security definition) and makes the authentication mandatory in order to perform the request.

Solution

Evaluate each security definition to validate that the keys exist at securityDefinitions property, taking root's security as the default value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant