You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marat Gubaidullin (Jira)" <ji...@apache.org> on 2021/11/30 22:42:00 UTC

[jira] [Created] (CAMEL-17253) SetBody YAML DSL

Marat Gubaidullin created CAMEL-17253:
-----------------------------------------

             Summary: SetBody YAML DSL
                 Key: CAMEL-17253
                 URL: https://issues.apache.org/jira/browse/CAMEL-17253
             Project: Camel
          Issue Type: Improvement
            Reporter: Marat Gubaidullin


On the [YAML DSL page on the Camel Website|https://camel.apache.org/camel-k/1.7.x/languages/yaml.html] there is an example:
 
{code:java}
set-body:
    data-format:
      json:
        library: Gson 
{code}

However, there is no data-format property in set-body in [camel-yaml-dsl.json|https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json]

Is it a mistake in the example or in camel-yaml-dsl.json?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)