Skip to content
New issue

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

the security validation on the operation was improved. #223

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

the security validation on the operation was improved. #223

wants to merge 3 commits into from

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.

None yet

1 participant