Skip to content

Commit

Permalink
Convert all the parameters with multiple possible values to enum - XJ…
Browse files Browse the repository at this point in the history
… kamelets

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Feb 9, 2023
1 parent f67a86b commit f4fc2c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f4fc2c8

Please sign in to comment.