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

davsclaus pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
     new 8e2d58a83a2 CAMEL-18848: camel-core-model - Rest DSL allowedValues 
should use definition model for value
8e2d58a83a2 is described below

commit 8e2d58a83a20fb28c33f6b5767ec80d619e812d6
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Dec 30 13:15:45 2022 +0100

    CAMEL-18848: camel-core-model - Rest DSL allowedValues should use 
definition model for value
---
 .../ROOT/pages/camel-3x-upgrade-guide-3_20.adoc    | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_20.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_20.adoc
index 564909992f2..36ba378f267 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_20.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_20.adoc
@@ -10,6 +10,30 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 
 A route now have `<routeProperty>` in the top instead of the bottom.
 
+=== YAML DSL
+
+Using _allowed values_ in Rest with YAML DSL is fixed to use correct name as 
other DSLs.
+
+Before:
+
+[source,yaml]
+----
+    value:
+    - available
+    - pending
+    - sold
+----
+
+After:
+
+[source,yaml]
+----
+    allowedValues:
+    - available
+    - pending
+    - sold
+----
+
 == Upgrading Camel 3.19 to 3.20
 
 === camel-api

Reply via email to