This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 37b1c57b99433be81324d97691d89b7a4902d443 Author: Zoran Regvart <zo...@regvart.com> AuthorDate: Fri Sep 17 15:56:17 2021 +0200 CAMEL-16639: Use `bindy-csv` for Bindy options Bindy dataformat is composed of three components and it has three JSON metadata files (`bindy-csv.json`, `bindy-fixed.json` and `bindy-kvp.json`), they're all (currently) identical. Our current documentation approach is to use single set of options for all three and with the `jsonpathTable2` macro we need to pick one, so with this we'll use `bindy-csv.json` as the source for the options table. --- .../camel-bindy/src/main/docs/bindy-dataformat.adoc | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/components/camel-bindy/src/main/docs/bindy-dataformat.adoc b/components/camel-bindy/src/main/docs/bindy-dataformat.adoc index c689b15..3d7c918 100644 --- a/components/camel-bindy/src/main/docs/bindy-dataformat.adoc +++ b/components/camel-bindy/src/main/docs/bindy-dataformat.adoc @@ -1,7 +1,5 @@ [[bindy-dataformat]] = Bindy DataFormat -//THIS FILE IS COPIED: EDIT THE SOURCE FILE: -:page-source: components/camel-bindy/src/main/docs/bindy-dataformat.adoc :docTitle: Bindy :artifactId: camel-bindy :description: Marshal and unmarshal between POJOs and key-value pair (KVP) format using Camel Bindy @@ -59,23 +57,8 @@ you can put multiple models in the same package. == Options -// dataformat options: START -The Bindy dataformat supports 5 options, which are listed below. - - - -[width="100%",cols="2s,1m,1m,6",options="header"] -|=== -| Name | Default | Java Type | Description -| type | | BindyType | Whether to use Csv, Fixed, or KeyValue. There are 3 enums and the value can be one of: Csv, Fixed, KeyValue -| classType | | String | Name of model class to use. -| locale | | String | To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default -| unwrapSingleInstance | true | Boolean | When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List. -| allowEmptyStream | false | Boolean | Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided. -|=== -// dataformat options: END - - +:shortName: bindy-csv +include::partial$dataformat-options.adoc[] == Annotations