This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 80db3bc CAMEL-22121: rest-dsl: Add client response validator
80db3bc is described below
commit 80db3bcc1d7d011fb8c49de2f3961780fcc10937
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jun 18 11:12:05 2025 +0200
CAMEL-22121: rest-dsl: Add client response validator
---
jbang/open-api-contract-first/camel-mock/pet/123.json | 5 ++++-
jbang/open-api-contract-first/petstore-v3.json | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/jbang/open-api-contract-first/camel-mock/pet/123.json
b/jbang/open-api-contract-first/camel-mock/pet/123.json
index 9c7739d..a037d4e 100644
--- a/jbang/open-api-contract-first/camel-mock/pet/123.json
+++ b/jbang/open-api-contract-first/camel-mock/pet/123.json
@@ -1,3 +1,6 @@
{
- "pet": "donald the dock"
+ "name": "Donald the duck",
+ "photoUrls": [
+ "image.png"
+ ]
}
\ No newline at end of file
diff --git a/jbang/open-api-contract-first/petstore-v3.json
b/jbang/open-api-contract-first/petstore-v3.json
index 6dcd1ab..9eb15e3 100644
--- a/jbang/open-api-contract-first/petstore-v3.json
+++ b/jbang/open-api-contract-first/petstore-v3.json
@@ -339,7 +339,7 @@
"examples": {
"success": {
"summary": "A cat",
-
"value": "{\"pet\": \"jack the cat\"}"
+
"value": "{\"name\": \"Jack the cat\", \"photoUrls\": [\"cat.jpg\"] }"
}
}
}