Skip to content

Commit

Permalink
Merge pull request #36279 from phillip-kruger/openapi-update
Browse files Browse the repository at this point in the history
Update SmallRye OpenAPI to 3.6.2
  • Loading branch information
phillip-kruger authored Oct 4, 2023
2 parents 3170e5d + 86ee5c2 commit 57a3b52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<smallrye-config.version>3.3.4</smallrye-config.version>
<smallrye-health.version>4.0.4</smallrye-health.version>
<smallrye-metrics.version>4.0.0</smallrye-metrics.version>
<smallrye-open-api.version>3.6.1</smallrye-open-api.version>
<smallrye-open-api.version>3.6.2</smallrye-open-api.version>
<smallrye-graphql.version>2.4.0</smallrye-graphql.version>
<smallrye-opentracing.version>3.0.3</smallrye-opentracing.version>
<smallrye-fault-tolerance.version>6.2.6</smallrye-fault-tolerance.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
uniObj.getJsonObject("get").getJsonObject("responses"),
schemasObj);
// make sure String, CompletionStage<String> and Uni<String> are detected the same
Assertions.assertEquals(testSchemaType,
Expand Down

0 comments on commit 57a3b52

Please sign in to comment.