-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bump smallrye-open-api from 3.2.0 to 3.3.0, fix OpenAPI security issues #31671
Conversation
@phillip-kruger , please take a look if you get a chance |
@MikeEdgar nice ! let's get this in. I assume you will do the SR release ? |
Yep, I'll do it now. Thanks for the reviews 😃 |
43c49de
to
5ec7d2c
Compare
This comment has been minimized.
This comment has been minimized.
@MikeEdgar the test failure is definitely related. Could you have a look? Thanks! |
- Handle method-level `@RolesAllowed` that override class-level `@RolesAllowed` values, fixes quarkusio#30997 - Render `BaseStream<T, S>` as array of `T` in OpenAPI document, fixes quarkusio#30248 (via smallrye-open-api 3.3.0) - Do not place scopes in OpenAPI security requirements unless the security scheme is OAuth2 or OIDC, fixes quarkusio#27373 - Include only OIDC discovery URL in OpenAPI when auto-security is active, fixes quarkusio#21126 Signed-off-by: Michael Edgar <[email protected]>
5ec7d2c
to
b11fae5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
With quarkusio/quarkus#31671 expected behavior of Smallrye OpenAPI has changed (torwards the specification) in regards to expected security scheme for basic authentication. We can't expect any value for 'basic' auth in Spring Data module now, therefore I added additional tests to Keycloak extended modules so that we have tested scenarios when security scheme is not empty.
With quarkusio/quarkus#31671 expected behavior of Smallrye OpenAPI has changed (torwards the specification) in regards to expected security scheme for basic authentication. We can't expect any value for 'basic' auth in Spring Data module now, therefore I added additional tests to Keycloak extended modules so that we have tested scenarios when security scheme is not empty.
With quarkusio/quarkus#31671 expected behavior of Smallrye OpenAPI has changed (torwards the specification) in regards to expected security scheme for basic authentication. We can't expect any value for 'basic' auth in Spring Data module now, therefore I added additional tests to Keycloak extended modules so that we have tested scenarios when security scheme is not empty.
With quarkusio/quarkus#31671 expected behavior of Smallrye OpenAPI has changed (torwards the specification) in regards to expected security scheme for basic authentication. We can't expect any value for 'basic' auth in Spring Data module now, therefore I added additional tests to Keycloak extended modules so that we have tested scenarios when security scheme is not empty.
@RolesAllowed
that override class-level@RolesAllowed
values, fixes OpenAPI does not correctly generate security schema when @RolesAllowed is used #30997BaseStream<T, S>
as array ofT
in OpenAPI document, fixes openapi for RestResponse<Stream<T>> not automaticly documenting T #30248 (via smallrye-open-api 3.3.0)