This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 3.20.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ab7020b8bf204aa44a037f33084bbdf54ca17d2d Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Feb 9 14:05:47 2023 +0100 Convert all the parameters with multiple possible values to enum - XJ kamelets Signed-off-by: Andrea Cosentino <[email protected]> --- .../src/main/resources/kamelets/xj-identity-action.kamelet.yaml | 3 ++- .../src/main/resources/kamelets/xj-template-action.kamelet.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml index f13d61ee..c469f9ad 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml @@ -37,8 +37,9 @@ spec: properties: direction: title: Direction - description: The transform direction, possible values are XML2JSON or JSON2XML + description: The transform direction. type: string + enum: ["XML2JSON", "JSON2XML"] dependencies: - "camel:xj" - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml index c364bdc7..bcb1918b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml @@ -38,8 +38,9 @@ spec: properties: direction: title: Direction - description: The transform direction, possible values are XML2JSON or JSON2XML + description: The transform direction. type: string + enum: ["XML2JSON", "JSON2XML"] template: title: Template description: The inline template to apply a transformation through template.
