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

OpenAPI: Make sure auto security also works for @Authenticated #25485

Merged
merged 1 commit into from May 12, 2022

Conversation

phillip-kruger
Copy link
Member

fix #24504

This PR adds support for the Authenticated annotation to also create auto security information in the OpenAPI generated doc.

Signed-off-by: Phillip Kruger phillip.kruger@gmail.com

Signed-off-by: Phillip Kruger <phillip.kruger@gmail.com>
Copy link
Member

@sberyozkin sberyozkin left a comment

Choose a reason for hiding this comment

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

As far as I understand this PR adds an option to check not only RolesAllowed but also Authenticated methods, this is what authenticatedMethodReferences is about. Tests look fine, so LGTM

@phillip-kruger
Copy link
Member Author

Correct ! Thanks @sberyozkin ! Merging

@phillip-kruger phillip-kruger merged commit a929be6 into quarkusio:main May 12, 2022
@quarkus-bot quarkus-bot bot added this to the 2.10 - main milestone May 12, 2022
@gsmet gsmet modified the milestones: 2.10 - main, 2.9.1.Final May 12, 2022
@phillip-kruger phillip-kruger deleted the openapi-authenticated branch June 13, 2023 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SwaggerUI does not support @Authenticated methods
3 participants