Skip to content

Ensure locally overridden security schemes have the correct security flag #418

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

Closed

Conversation

EdwardSalter
Copy link

When a schema defines a global security policy and then overrides that locally (i.e. setting it to an empty array), the endpoint is still being flagged as secure.
This change will ensure that the locally defined security schema will override the globally defined one if present.

Fixes #348

@js2me js2me mentioned this pull request Oct 15, 2022
@js2me js2me deleted the branch acacode:next October 15, 2022 23:38
@js2me js2me closed this Oct 15, 2022
@EdwardSalter EdwardSalter deleted the fix_security_overrides branch October 25, 2022 11:44
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.

2 participants