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.git
commit ed1c0b5019ce6f81c24964cea71f4cec409e8dec 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 e705de6245b..1d9e8627637 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
