You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/12/01 12:14:09 UTC

[camel] branch main updated: CAMEL-17253: Fixed yaml dsl docs

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


The following commit(s) were added to refs/heads/main by this push:
     new 2876e2d  CAMEL-17253: Fixed yaml dsl docs
2876e2d is described below

commit 2876e2df73ab08df4d522d1f811dfee4fd8fe59f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Dec 1 13:13:25 2021 +0100

    CAMEL-17253: Fixed yaml dsl docs
---
 dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
index 017fbdd..fb2c28e 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
@@ -90,13 +90,13 @@ filter:
 
 - *Data Format Aware Steps*
 +
-Some EIP such as `set-body` and `marshal` supports the definition of data formats through the `data-format` field:
+The EIP `marshal` and `unmarshal` supports the definition of data formats through the `data-format-type` field:
 +
 [source,yaml]
 .Explicit Data Format field
 ----
-set-body:
-    data-format:
+marshal:
+    data-format-type:
       json:
         library: Gson
 ----
@@ -106,7 +106,7 @@ To make the DSL less verbose, the `data-format` field can be omitted:
 [source,yaml]
 .Implicit Data Format field
 ----
-set-body:
+marshal:
     json:
       library: Gson
 ----