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

Update SmallRye OpenAPI to 3.6.2 #36279

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

phillip-kruger
Copy link
Member

Update OpenAPI to 3.6.2

Fix #36253

This also implements the default content type for wrapped types as discussed here:
#34700 (comment)

@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/openapi area/smallrye labels Oct 4, 2023
@phillip-kruger phillip-kruger requested a review from gsmet October 4, 2023 03:01
Signed-off-by: Phillip Kruger <[email protected]>
@@ -90,7 +90,8 @@ public void testOpenAPIJSON() throws Exception {
Assertions.assertEquals(1, keys.size());
Assertions.assertEquals("get", keys.iterator().next());

String uniSchemaType = schemaType("200", DEFAULT_MEDIA_TYPE, uniObj.getJsonObject("get").getJsonObject("responses"),
String uniSchemaType = schemaType("200", DEFAULT_MEDIA_TYPE_PRIMITAVE,
Copy link
Member

Choose a reason for hiding this comment

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

Not worth fixing here as it was preexisting but next time you update this test:

Suggested change
String uniSchemaType = schemaType("200", DEFAULT_MEDIA_TYPE_PRIMITAVE,
String uniSchemaType = schemaType("200", DEFAULT_MEDIA_TYPE_PRIMITIVE,

@cescoffier cescoffier added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 4, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 4, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@phillip-kruger phillip-kruger merged commit 57a3b52 into quarkusio:main Oct 4, 2023
50 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.5 - main milestone Oct 4, 2023
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/openapi area/smallrye kind/bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enums are not correctly documented in Open API / Swagger UI in Quarkus 3.X
3 participants