This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
commit c5d724dce32cd9a90ea95f03466af802e0af6b9a Author: James Netherton <[email protected]> AuthorDate: Mon Oct 6 08:13:47 2025 +0100 Avoid using reserved word ApiResponse in OpenAPI contract first spec --- openapi-contract-first/src/main/openapi/petstore.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi-contract-first/src/main/openapi/petstore.json b/openapi-contract-first/src/main/openapi/petstore.json index b03f0187..34d63773 100644 --- a/openapi-contract-first/src/main/openapi/petstore.json +++ b/openapi-contract-first/src/main/openapi/petstore.json @@ -495,7 +495,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ApiResponse" + "$ref": "#/components/schemas/ModelApiResponse" } } } @@ -1168,7 +1168,7 @@ "name": "pet" } }, - "ApiResponse": { + "ModelApiResponse": { "type": "object", "properties": { "code": {
