This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git


The following commit(s) were added to refs/heads/camel-quarkus-main by this 
push:
     new f25818c  Avoid using reserved word ApiResponse in OpenAPI contract 
first spec
f25818c is described below

commit f25818c35b57e6ac14cf81e5999ebd2b516ba909
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 b03f018..34d6377 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": {

Reply via email to