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

Remove "oauth2" scheme from openapi security scheme #4073

Conversation

BeyerJC
Copy link
Contributor

@BeyerJC BeyerJC commented Feb 17, 2021

Q A
Bug fix? yes
Deprecations? no
Tickets Fix #4071
License MIT

@BeyerJC BeyerJC changed the title * remove oauth2 scheme from openapi security scheme Remove "oauth2" scheme from openapi security scheme Feb 17, 2021
Copy link
Member

@alanpoulain alanpoulain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scheme key seems only to be used for Basic and Bearer indeed.
LGTM but @soyuka needs to confirm.

@alanpoulain
Copy link
Member

Please fix the unit tests too.

@BeyerJC BeyerJC force-pushed the bugfix/remove-schema-in-oa-oauth2-security-scheme branch from 6a1d897 to 303fe13 Compare February 17, 2021 14:20
CHANGELOG.md Outdated Show resolved Hide resolved
@alanpoulain alanpoulain merged commit b5805a1 into api-platform:2.6 Feb 18, 2021
@alanpoulain
Copy link
Member

Thank you @WhiteRabbitDE.

@BeyerJC BeyerJC deleted the bugfix/remove-schema-in-oa-oauth2-security-scheme branch February 18, 2021 10:03
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

3 participants