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

Bump smallrye-open-api from 3.2.0 to 3.3.0, fix OpenAPI security issues #31671

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

MikeEdgar
Copy link
Contributor

@MikeEdgar MikeEdgar commented Mar 7, 2023

@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/openapi area/smallrye labels Mar 7, 2023
@MikeEdgar
Copy link
Contributor Author

@phillip-kruger , please take a look if you get a chance

@phillip-kruger
Copy link
Member

@MikeEdgar nice ! let's get this in. I assume you will do the SR release ?

@MikeEdgar
Copy link
Contributor Author

let's get this in. I assume you will do the SR release ?

Yep, I'll do it now. Thanks for the reviews 😃

@MikeEdgar MikeEdgar force-pushed the openapi-update+bug-fixes branch from 43c49de to 5ec7d2c Compare March 8, 2023 01:45
@MikeEdgar MikeEdgar marked this pull request as ready for review March 8, 2023 01:45
@quarkus-bot

This comment has been minimized.

@gsmet
Copy link
Member

gsmet commented Mar 8, 2023

@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]>
@MikeEdgar MikeEdgar force-pushed the openapi-update+bug-fixes branch from 5ec7d2c to b11fae5 Compare March 8, 2023 12:31
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 9, 2023

Failing Jobs - Building b11fae5

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 Windows Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 19

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

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

LGTM

@gsmet gsmet merged commit 9a520b9 into quarkusio:main Mar 9, 2023
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 9, 2023
@MikeEdgar MikeEdgar deleted the openapi-update+bug-fixes branch March 9, 2023 12:43
michalvavrik added a commit to michalvavrik/quarkus-test-suite that referenced this pull request Mar 10, 2023
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.
michalvavrik added a commit to michalvavrik/quarkus-test-suite that referenced this pull request Mar 14, 2023
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.
michalvavrik added a commit to michalvavrik/quarkus-test-suite that referenced this pull request Mar 14, 2023
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.
fedinskiy pushed a commit to quarkus-qe/quarkus-test-suite that referenced this pull request Mar 14, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment