You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "ppalaga (via GitHub)" <gi...@apache.org> on 2025/09/08 17:20:54 UTC
[I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
ppalaga opened a new issue, #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717
### Bug description
Steps to reproduce on Linux
```
cd integration-tests/openapi-java
# on Linux
export TZ=Etc/GMT+12
mvn clean test -Dtest=OpenApiV3Test#arrayTypes
```
On other OSes you may need to set the timezone differently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3269091900
I've not dug into it deeply, but I wonder if this is perhaps the problem when the OpenAPI doc get's stringified:
https://github.com/apache/camel/blob/2a15dd4cd3d26f8761cd7f7f9239c00ec406c49c/components/camel-openapi-java/src/main/java/org/apache/camel/openapi/RestOpenApiSupport.java#L377
The date format Camel applies via the ObjectMapper is a bit different to the Swagger default:
https://github.com/swagger-api/swagger-core/blob/46decb3079b4c7ad9281dda4a58bbb4cb4f7fd03/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/DateSchema.java#L40-L42
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3269372621
Camel issue https://issues.apache.org/jira/browse/CAMEL-22408
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3381143531
Fixed in https://github.com/apache/camel-quarkus/pull/7808.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3269336067
That's a great pointer. Let me send a fix to Camel.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3269452652
Fix in Camel https://github.com/apache/camel/pull/19110
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7717: `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12`
URL: https://github.com/apache/camel-quarkus/issues/7717
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `OpenApiV3Test#arrayTypes` fails with `TZ=Etc/GMT+12` [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #7717:
URL: https://github.com/apache/camel-quarkus/issues/7717#issuecomment-3267240599
Here is the console output:
```
[INFO] Running org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test
2025-09-08 05:16:51,313 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Apache Camel Quarkus 3.26.0.rhbac-SNAPSHOT is starting
2025-09-08 05:16:51,314 INFO [org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 4.14.0.redhat-00003 is starting
2025-09-08 05:16:51,341 INFO [org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary
2025-09-08 05:16:51,341 INFO [org.apa.cam.mai.BaseMainSupport] (main) [MicroProfilePropertiesSource] camel.rest.apiContextPath = /openapi
2025-09-08 05:16:51,341 INFO [org.apa.cam.mai.BaseMainSupport] (main) [MicroProfilePropertiesSource] camel.rest.component = platform-http
2025-09-08 05:16:51,444 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.14.0.redhat-00003 (camel-1) is starting
2025-09-08 05:16:51,682 INFO [org.apa.cam.ope.RestOpenApiReader] (main) Duplicate schema found for with name org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA; classname1=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA, classname2=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA
2025-09-08 05:16:51,682 INFO [org.apa.cam.ope.RestOpenApiReader] (main) Duplicate schema found for with name org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB; classname1=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB, classname2=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB
2025-09-08 05:16:51,687 INFO [org.apa.cam.ope.RestOpenApiReader] (main) Duplicate schema found for with name org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA; classname1=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA, classname2=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA
2025-09-08 05:16:51,687 INFO [org.apa.cam.ope.RestOpenApiReader] (main) Duplicate schema found for with name org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB; classname1=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB, classname2=org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB
2025-09-08 05:16:51,776 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup (total:17 rest-dsl:14)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started example-without-package-name (direct://example-without-package-name)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route1 (rest-api:///openapi)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route2 (seda://echoMethodPath)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route3 (seda://res)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started list (rest://get:/api:/fruits/list)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route4 (rest://get:/api:/operation/spec)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route5 (rest://get:/api:/security/scopes)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route6 (rest://get:/api:/security/api/key)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route7 (rest://get:/api:/security/basic/auth)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route8 (rest://get:/api:/security/oauth2)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route9 (rest://get:/security/bearer/token)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route10 (rest://get:/security/mutual/tls)
2025-09-08 05:16:51,777 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route11 (rest://get:/security/openid)
2025-09-08 05:16:51,778 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route12 (rest://get:/api/operation/spec/array/params)
2025-09-08 05:16:51,778 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route13 (rest://post:/form:/oneOf)
2025-09-08 05:16:51,778 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route14 (rest://post:/form:/allOf)
2025-09-08 05:16:51,778 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route15 (rest://post:/form:/anyOf)
2025-09-08 05:16:51,778 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.14.0.redhat-00003 (camel-1) started in 333ms (build:0ms init:0ms start:333ms boot:480ms)
2025-09-08 05:16:51,844 INFO [io.quarkus] (main) camel-quarkus-integration-test-openapi-java 3.26.0.rhbac-SNAPSHOT on JVM (powered by Quarkus 3.26.0.temporary-redhat-00006) started in 2.259s. Listening on: http://localhost:8081
2025-09-08 05:16:51,844 INFO [io.quarkus] (main) Profile test activated.
2025-09-08 05:16:51,844 INFO [io.quarkus] (main) Installed features: [camel-attachments, camel-core, camel-direct, camel-http, camel-jackson, camel-openapi-java, camel-platform-http, camel-rest, camel-seda, cdi, resteasy, smallrye-context-propagation, vertx]
Request method: GET
Request URI: http://localhost:8081/openapi
Proxy: <none>
Request params: <none>
Query params: <none>
Form params: <none>
Path params: <none>
Headers: Accept=application/json
Cookies: <none>
Multiparts: <none>
Body: <none>
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3600
Content-Length: 16216
Content-Type: application/json
{
"openapi": "3.0.0",
"info": {
"title": "Camel Quarkus API",
"description": "The Awesome Camel Quarkus REST API",
"termsOfService": "https://camel.apache.org",
"contact": {
"name": "Mr Camel Quarkus",
"url": "https://camel.apache.org",
"email": "mrcq@cq.org"
},
"license": {
"name": "Apache V2",
"url": "https://www.apache.org/licenses/LICENSE-2.0"
},
"version": "1.2.3"
},
"servers": [
{
"url": "http://localhost:8080/"
},
{
"url": "https://localhost:8080/"
}
],
"tags": [
{
"name": "/api"
},
{
"name": "OneOf"
},
{
"name": "AllOf"
},
{
"name": "AnyOf"
}
],
"paths": {
"/api/fruits/list": {
"get": {
"tags": [
"/api"
],
"summary": "Gets a list of fruits",
"operationId": "list",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Fruit"
}
}
},
"required": true
},
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/api/operation/spec": {
"get": {
"tags": [
"/api"
],
"operationId": "verb1",
"parameters": [
{
"name": "header_number",
"in": "header",
"description": "Header Param Number",
"required": true,
"schema": {
"type": "integer",
"enum": [
"1",
"2",
"3"
],
"default": "1"
}
},
{
"name": "query_letter",
"in": "query",
"description": "Query Param Letter",
"required": false,
"style": "deepObject",
"schema": {
"type": "string",
"enum": [
"A",
"B",
"C"
],
"default": "B"
}
}
],
"responses": {
"418": {
"description": "I am a teapot",
"headers": {
"rate": {
"description": "API Rate Limit",
"schema": {
"type": "integer"
}
}
},
"content": {
"application/json": {
"schema": {
"type": "integer",
"format": "int32"
}
}
}
},
"error": {
"description": "Response Error"
}
},
"x-camelContextId": "camel-1"
}
},
"/api/security/api/key": {
"get": {
"tags": [
"/api"
],
"operationId": "verb2",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/api/security/basic/auth": {
"get": {
"tags": [
"/api"
],
"operationId": "verb3",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/api/security/oauth2": {
"get": {
"tags": [
"/api"
],
"operationId": "verb4",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/api/security/scopes": {
"get": {
"tags": [
"/api"
],
"operationId": "verb5",
"responses": {
"default": {
}
},
"security": [
{
"OAuth2": [
"scope1",
"scope2",
"scope3"
]
}
],
"x-camelContextId": "camel-1"
}
},
"/api/operation/spec/array/params": {
"get": {
"operationId": "verb6",
"parameters": [
{
"name": "string_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string"
},
"enum": [
"A",
"B",
"C"
]
}
},
{
"name": "int_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"enum": [
1,
2,
3
]
}
},
{
"name": "integer_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"enum": [
1,
2,
3
]
}
},
{
"name": "long_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"enum": [
1,
2,
3
]
}
},
{
"name": "float_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "number",
"format": "float"
},
"enum": [
1.0,
2.0,
3.0
]
}
},
{
"name": "double_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "number",
"format": "double"
},
"enum": [
1.0,
2.0,
3.0
]
}
},
{
"name": "boolean_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "boolean"
},
"enum": [
true,
false
]
}
},
{
"name": "byte_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string",
"format": "byte"
},
"enum": [
"MQ==",
"Mg==",
"Mw=="
]
}
},
{
"name": "binary_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string",
"format": "binary"
},
"enum": [
"MQ==",
"Mg==",
"Mw=="
]
}
},
{
"name": "date_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string",
"format": "date"
},
"enum": [
"2022-12-31",
"2023-02-01",
"2023-03-02"
]
}
},
{
"name": "datetime_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string",
"format": "date-time"
},
"enum": [
"2023-01-01T11:11:11+01:00",
"2023-02-02T12:12:12+01:00",
"2023-03-03T13:13:13+01:00"
]
}
},
{
"name": "password_array",
"in": "path",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string",
"format": "password"
},
"enum": [
"foo",
"bar",
"cheese"
]
}
}
],
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/security/bearer/token": {
"get": {
"operationId": "verb7",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/security/mutual/tls": {
"get": {
"operationId": "verb8",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/security/openid": {
"get": {
"operationId": "verb9",
"responses": {
"default": {
}
},
"x-camelContextId": "camel-1"
}
},
"/form/oneOf": {
"post": {
"tags": [
"OneOf"
],
"summary": "OneOf rest service",
"operationId": "verb10",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OneOfFormWrapper"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ok"
}
},
"x-camelContextId": "camel-1"
}
},
"/form/allOf": {
"post": {
"tags": [
"AllOf"
],
"summary": "AllOf rest service",
"operationId": "verb11",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AllOfFormWrapper"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ok"
}
},
"x-camelContextId": "camel-1"
}
},
"/form/anyOf": {
"post": {
"tags": [
"AnyOf"
],
"summary": "AnyOf rest service",
"operationId": "verb12",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AnyOfFormWrapper"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ok"
}
},
"x-camelContextId": "camel-1"
}
}
},
"components": {
"schemas": {
"AllOfFormWrapper": {
"type": "object",
"properties": {
"fullForm": {
"$ref": "#/components/schemas/AllOfForm"
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.AllOfFormWrapper",
"type": "string"
}
},
"Element": {
"type": "object",
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.Element",
"type": "string"
}
},
"OneOfForm": {
"type": "object",
"discriminator": {
"propertyName": "code",
"mapping": {
"a-123": "#/components/schemas/org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA",
"b-456": "#/components/schemas/org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB"
}
},
"oneOf": [
{
"$ref": "#/components/schemas/XOfFormA"
},
{
"$ref": "#/components/schemas/XOfFormB"
}
],
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.OneOfForm",
"type": "string"
}
},
"XOfFormB": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"x": {
"type": "integer",
"format": "int32"
},
"y": {
"type": "string"
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB",
"type": "string"
}
},
"XOfFormA": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"a": {
"type": "string"
},
"b": {
"type": "integer",
"format": "int32"
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA",
"type": "string"
}
},
"AllOfForm": {
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/XOfFormA"
},
{
"$ref": "#/components/schemas/XOfFormB"
},
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"a": {
"type": "string"
},
"b": {
"type": "integer",
"format": "int32"
},
"x": {
"type": "integer",
"format": "int32"
},
"y": {
"type": "string"
}
}
}
],
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.AllOfForm",
"type": "string"
}
},
"Fruit": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"num": {
"type": "integer",
"format": "int32"
},
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Element"
}
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.Fruit",
"type": "string"
}
},
"AnyOfForm": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"a": {
"type": "string"
},
"b": {
"type": "integer",
"format": "int32"
},
"x": {
"type": "integer",
"format": "int32"
},
"y": {
"type": "string"
}
},
"anyOf": [
{
"$ref": "#/components/schemas/XOfFormA"
},
{
"$ref": "#/components/schemas/XOfFormB"
}
],
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.AnyOfForm",
"type": "string"
}
},
"AnyOfFormWrapper": {
"type": "object",
"properties": {
"formElements": {
"$ref": "#/components/schemas/AnyOfForm"
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.AnyOfFormWrapper",
"type": "string"
}
},
"OneOfFormWrapper": {
"type": "object",
"properties": {
"formType": {
"type": "string"
},
"form": {
"$ref": "#/components/schemas/OneOfForm"
}
},
"x-className": {
"format": "org.apache.camel.quarkus.component.openapijava.it.model.OneOfFormWrapper",
"type": "string"
}
}
},
"securitySchemes": {
"X-API-Key": {
"type": "apiKey",
"description": "The API key",
"name": "X-API-KEY",
"in": "header"
},
"basicAuth": {
"type": "http",
"description": "Basic Authentication",
"scheme": "basic"
},
"oauth2": {
"type": "oauth2",
"description": "OAuth2 Authentication",
"flows": {
"implicit": {
"authorizationUrl": "https://secure.apache.org/fake/oauth2/authorize",
"scopes": {
"scope1": "Scope 1",
"scope2": "Scope 2",
"scope3": "Scope 3"
}
}
}
},
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "Bearer Token Authentication"
},
"mutualTLS": {
"type": "mutualTLS"
},
"openId": {
"type": "openIdConnect",
"openIdConnectUrl": "https://secure.apache.org/fake/openid-configuration"
}
}
}
}
Request method: GET
Request URI: http://localhost:8081/openapi
Proxy: <none>
Request params: <none>
Query params: <none>
Form params: <none>
Path params: <none>
Headers: Accept=text/yaml
Cookies: <none>
Multiparts: <none>
Body: <none>
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3600
Content-Length: 11501
Content-Type: text/yaml
openapi: 3.0.0
info:
title: Camel Quarkus API
description: The Awesome Camel Quarkus REST API
termsOfService: https://camel.apache.org
contact:
name: Mr Camel Quarkus
url: https://camel.apache.org
email: mrcq@cq.org
license:
name: Apache V2
url: https://www.apache.org/licenses/LICENSE-2.0
version: 1.2.3
servers:
- url: http://localhost:8080/
- url: https://localhost:8080/
tags:
- name: /api
- name: OneOf
- name: AllOf
- name: AnyOf
paths:
/api/fruits/list:
get:
tags:
- /api
summary: Gets a list of fruits
operationId: list
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Fruit"
required: true
responses:
default: {}
x-camelContextId: camel-1
/api/operation/spec:
get:
tags:
- /api
operationId: verb1
parameters:
- name: header_number
in: header
description: Header Param Number
required: true
schema:
type: integer
enum:
- "1"
- "2"
- "3"
default: "1"
- name: query_letter
in: query
description: Query Param Letter
required: false
style: deepObject
schema:
type: string
enum:
- A
- B
- C
default: B
responses:
"418":
description: I am a teapot
headers:
rate:
description: API Rate Limit
schema:
type: integer
content:
application/json:
schema:
type: integer
format: int32
error:
description: Response Error
x-camelContextId: camel-1
/api/security/api/key:
get:
tags:
- /api
operationId: verb2
responses:
default: {}
x-camelContextId: camel-1
/api/security/basic/auth:
get:
tags:
- /api
operationId: verb3
responses:
default: {}
x-camelContextId: camel-1
/api/security/oauth2:
get:
tags:
- /api
operationId: verb4
responses:
default: {}
x-camelContextId: camel-1
/api/security/scopes:
get:
tags:
- /api
operationId: verb5
responses:
default: {}
security:
- OAuth2:
- scope1
- scope2
- scope3
x-camelContextId: camel-1
/api/operation/spec/array/params:
get:
operationId: verb6
parameters:
- name: string_array
in: path
required: true
schema:
type: array
items:
type: string
enum:
- A
- B
- C
- name: int_array
in: path
required: true
schema:
type: array
items:
type: integer
format: int32
enum:
- 1
- 2
- 3
- name: integer_array
in: path
required: true
schema:
type: array
items:
type: integer
format: int32
enum:
- 1
- 2
- 3
- name: long_array
in: path
required: true
schema:
type: array
items:
type: integer
format: int64
enum:
- 1
- 2
- 3
- name: float_array
in: path
required: true
schema:
type: array
items:
type: number
format: float
enum:
- 1.0
- 2.0
- 3.0
- name: double_array
in: path
required: true
schema:
type: array
items:
type: number
format: double
enum:
- 1.0
- 2.0
- 3.0
- name: boolean_array
in: path
required: true
schema:
type: array
items:
type: boolean
enum:
- true
- false
- name: byte_array
in: path
required: true
schema:
type: array
items:
type: string
format: byte
enum:
- !!binary |-
MQ==
- !!binary |-
Mg==
- !!binary |-
Mw==
- name: binary_array
in: path
required: true
schema:
type: array
items:
type: string
format: binary
enum:
- !!binary |-
MQ==
- !!binary |-
Mg==
- !!binary |-
Mw==
- name: date_array
in: path
required: true
schema:
type: array
items:
type: string
format: date
enum:
- 2022-12-31
- 2023-02-01
- 2023-03-02
- name: datetime_array
in: path
required: true
schema:
type: array
items:
type: string
format: date-time
enum:
- 2023-01-01T11:11:11+01:00
- 2023-02-02T12:12:12+01:00
- 2023-03-03T13:13:13+01:00
- name: password_array
in: path
required: true
schema:
type: array
items:
type: string
format: password
enum:
- foo
- bar
- cheese
responses:
default: {}
x-camelContextId: camel-1
/security/bearer/token:
get:
operationId: verb7
responses:
default: {}
x-camelContextId: camel-1
/security/mutual/tls:
get:
operationId: verb8
responses:
default: {}
x-camelContextId: camel-1
/security/openid:
get:
operationId: verb9
responses:
default: {}
x-camelContextId: camel-1
/form/oneOf:
post:
tags:
- OneOf
summary: OneOf rest service
operationId: verb10
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/OneOfFormWrapper"
required: true
responses:
"200":
description: Ok
x-camelContextId: camel-1
/form/allOf:
post:
tags:
- AllOf
summary: AllOf rest service
operationId: verb11
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AllOfFormWrapper"
required: true
responses:
"200":
description: Ok
x-camelContextId: camel-1
/form/anyOf:
post:
tags:
- AnyOf
summary: AnyOf rest service
operationId: verb12
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/AnyOfFormWrapper"
required: true
responses:
"200":
description: Ok
x-camelContextId: camel-1
components:
schemas:
AllOfFormWrapper:
type: object
properties:
fullForm:
$ref: "#/components/schemas/AllOfForm"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.AllOfFormWrapper
type: string
Element:
type: object
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.Element
type: string
OneOfForm:
type: object
discriminator:
propertyName: code
mapping:
a-123: "#/components/schemas/org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA"
b-456: "#/components/schemas/org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB"
oneOf:
- $ref: "#/components/schemas/XOfFormA"
- $ref: "#/components/schemas/XOfFormB"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.OneOfForm
type: string
XOfFormB:
type: object
properties:
code:
type: string
x:
type: integer
format: int32
"y":
type: string
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.XOfFormB
type: string
XOfFormA:
type: object
properties:
code:
type: string
a:
type: string
b:
type: integer
format: int32
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.XOfFormA
type: string
AllOfForm:
type: object
allOf:
- $ref: "#/components/schemas/XOfFormA"
- $ref: "#/components/schemas/XOfFormB"
- type: object
properties:
code:
type: string
a:
type: string
b:
type: integer
format: int32
x:
type: integer
format: int32
"y":
type: string
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.AllOfForm
type: string
Fruit:
type: object
properties:
name:
type: string
description:
type: string
num:
type: integer
format: int32
elements:
type: array
items:
$ref: "#/components/schemas/Element"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.Fruit
type: string
AnyOfForm:
type: object
properties:
code:
type: string
a:
type: string
b:
type: integer
format: int32
x:
type: integer
format: int32
"y":
type: string
anyOf:
- $ref: "#/components/schemas/XOfFormA"
- $ref: "#/components/schemas/XOfFormB"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.AnyOfForm
type: string
AnyOfFormWrapper:
type: object
properties:
formElements:
$ref: "#/components/schemas/AnyOfForm"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.AnyOfFormWrapper
type: string
OneOfFormWrapper:
type: object
properties:
formType:
type: string
form:
$ref: "#/components/schemas/OneOfForm"
x-className:
format: org.apache.camel.quarkus.component.openapijava.it.model.OneOfFormWrapper
type: string
securitySchemes:
X-API-Key:
type: apiKey
description: The API key
name: X-API-KEY
in: header
basicAuth:
type: http
description: Basic Authentication
scheme: basic
oauth2:
type: oauth2
description: OAuth2 Authentication
flows:
implicit:
authorizationUrl: https://secure.apache.org/fake/oauth2/authorize
scopes:
scope1: Scope 1
scope2: Scope 2
scope3: Scope 3
bearerAuth:
type: http
scheme: bearer
bearerFormat: Bearer Token Authentication
mutualTLS:
type: mutualTLS
openId:
type: openIdConnect
openIdConnectUrl: https://secure.apache.org/fake/openid-configuration
[ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.373 s <<< FAILURE! -- in org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test
[ERROR] org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test.arrayTypes(OpenApiContentType)[1] -- Time elapsed: 0.995 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
JSON path paths.'/api/operation/spec/array/params'.get.parameters[9].schema.enum doesn't match.
Expected: iterable containing ["2023-01-01", "2023-02-02", "2023-03-03"]
Actual: <[2022-12-31, 2023-02-01, 2023-03-02]>
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:270)
at io.restassured.specification.ResponseSpecification$body$2.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:212)
at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:117)
at io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:244)
at org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test.arrayTypes(OpenApiV3Test.java:368)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1000)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:930)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestTemplateMethod(QuarkusTestExtension.java:889)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
[ERROR] org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test.arrayTypes(OpenApiContentType)[2] -- Time elapsed: 0.274 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
JSON path paths.'/api/operation/spec/array/params'.get.parameters[9].schema.enum doesn't match.
Expected: iterable containing ["2023-01-01", "2023-02-02", "2023-03-03"]
Actual: <[2022-12-31, 2023-02-01, 2023-03-02]>
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:270)
at io.restassured.specification.ResponseSpecification$body$2.callCurrent(Unknown Source)
at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:117)
at io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:244)
at org.apache.camel.quarkus.component.openapijava.it.v3.OpenApiV3Test.arrayTypes(OpenApiV3Test.java:368)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1000)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:930)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestTemplateMethod(QuarkusTestExtension.java:889)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
2025-09-08 05:16:53,290 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.14.0.redhat-00003 (camel-1) is shutting down (timeout:45s)
2025-09-08 05:16:54,779 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes stopped (total:17 rest-dsl:14)
2025-09-08 05:16:54,779 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route15 (rest://post:/form:/anyOf)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route14 (rest://post:/form:/allOf)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route13 (rest://post:/form:/oneOf)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route12 (rest://get:/api/operation/spec/array/params)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route11 (rest://get:/security/openid)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route10 (rest://get:/security/mutual/tls)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route9 (rest://get:/security/bearer/token)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route8 (rest://get:/api:/security/oauth2)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route7 (rest://get:/api:/security/basic/auth)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route6 (rest://get:/api:/security/api/key)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route5 (rest://get:/api:/security/scopes)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route4 (rest://get:/api:/operation/spec)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped list (rest://get:/api:/fruits/list)
2025-09-08 05:16:54,780 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route3 (seda://res)
2025-09-08 05:16:54,781 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route2 (seda://echoMethodPath)
2025-09-08 05:16:54,781 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route1 (rest-api:///openapi)
2025-09-08 05:16:54,781 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped example-without-package-name (direct://example-without-package-name)
2025-09-08 05:16:54,782 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.14.0.redhat-00003 (camel-1) shutdown in 1s491ms (uptime:3s)
2025-09-08 05:16:54,792 INFO [io.quarkus] (main) camel-quarkus-integration-test-openapi-java stopped in 1.506s
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] OpenApiV3Test.arrayTypes:368 1 expectation failed.
JSON path paths.'/api/operation/spec/array/params'.get.parameters[9].schema.enum doesn't match.
Expected: iterable containing ["2023-01-01", "2023-02-02", "2023-03-03"]
Actual: <[2022-12-31, 2023-02-01, 2023-03-02]>
[ERROR] OpenApiV3Test.arrayTypes:368 1 expectation failed.
JSON path paths.'/api/operation/spec/array/params'.get.parameters[9].schema.enum doesn't match.
Expected: iterable containing ["2023-01-01", "2023-02-02", "2023-03-03"]
Actual: <[2022-12-31, 2023-02-01, 2023-03-02]>
[INFO]
[ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org