diff --git a/bom/application/pom.xml b/bom/application/pom.xml
index a8c0e298ea943..72fa010268d4b 100644
--- a/bom/application/pom.xml
+++ b/bom/application/pom.xml
@@ -54,7 +54,7 @@
3.3.4
4.0.4
4.0.0
- 3.6.1
+ 3.6.2
2.4.0
3.0.3
6.2.6
diff --git a/integration-tests/main/src/test/java/io/quarkus/it/main/OpenApiTestCase.java b/integration-tests/main/src/test/java/io/quarkus/it/main/OpenApiTestCase.java
index afa8310ae440f..214f452efa1b7 100644
--- a/integration-tests/main/src/test/java/io/quarkus/it/main/OpenApiTestCase.java
+++ b/integration-tests/main/src/test/java/io/quarkus/it/main/OpenApiTestCase.java
@@ -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 and Uni are detected the same
Assertions.assertEquals(testSchemaType,