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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 7b0ecf180de CAMEL-23801: Fix dataformat doc page resolution for 
fastjson, gson, jsonb, snakeyaml
7b0ecf180de is described below

commit 7b0ecf180de71d2f295080bab233cbb073da6ecc
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 19 14:30:14 2026 +0200

    CAMEL-23801: Fix dataformat doc page resolution for fastjson, gson, jsonb, 
snakeyaml
    
    Co-Authored-By: Claude <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 docs/spring-boot/modules/ROOT/pages/starters/fastjson.adoc            | 2 +-
 docs/spring-boot/modules/ROOT/pages/starters/gson.adoc                | 2 +-
 docs/spring-boot/modules/ROOT/pages/starters/jsonb.adoc               | 2 +-
 docs/spring-boot/modules/ROOT/pages/starters/snakeyaml.adoc           | 2 +-
 .../org/apache/camel/springboot/maven/UpdateStarterDocPageMojo.java   | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/spring-boot/modules/ROOT/pages/starters/fastjson.adoc 
b/docs/spring-boot/modules/ROOT/pages/starters/fastjson.adoc
index fefa44defa5..1dda2865d46 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/fastjson.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/fastjson.adoc
@@ -7,7 +7,7 @@ Marshal POJOs to JSON and back using Fastjson
 
 == What's inside
 
-* xref:{csb-camel-components}:dataformats:json-dataformat.adoc[JSON Fastjson 
data format]
+* xref:{csb-camel-components}:dataformats:fastjson-dataformat.adoc[JSON 
Fastjson data format]
 
 Please refer to the above links for usage and configuration details.
 
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/gson.adoc 
b/docs/spring-boot/modules/ROOT/pages/starters/gson.adoc
index 4b497737b32..2e2607775df 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/gson.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/gson.adoc
@@ -7,7 +7,7 @@ Marshal POJOs to JSON and back using Gson
 
 == What's inside
 
-* xref:{csb-camel-components}:dataformats:json-dataformat.adoc[JSON Gson data 
format]
+* xref:{csb-camel-components}:dataformats:gson-dataformat.adoc[JSON Gson data 
format]
 
 Please refer to the above links for usage and configuration details.
 
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/jsonb.adoc 
b/docs/spring-boot/modules/ROOT/pages/starters/jsonb.adoc
index 69c5e8b34a2..025440bd55e 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/jsonb.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/jsonb.adoc
@@ -7,7 +7,7 @@ Marshal POJOs to JSON and back using JSON-B.
 
 == What's inside
 
-* xref:{csb-camel-components}:dataformats:json-dataformat.adoc[JSON JSON-B 
data format]
+* xref:{csb-camel-components}:dataformats:jsonb-dataformat.adoc[JSON JSON-B 
data format]
 
 Please refer to the above links for usage and configuration details.
 
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/snakeyaml.adoc 
b/docs/spring-boot/modules/ROOT/pages/starters/snakeyaml.adoc
index fb43c3d8f04..ef680b8bf77 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/snakeyaml.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/snakeyaml.adoc
@@ -7,7 +7,7 @@ Marshal and unmarshal Java objects to and from YAML using 
SnakeYAML
 
 == What's inside
 
-* xref:{csb-camel-components}:dataformats:yaml-dataformat.adoc[YAML SnakeYAML 
data format]
+* xref:{csb-camel-components}:dataformats:snakeYaml-dataformat.adoc[YAML 
SnakeYAML data format]
 
 Please refer to the above links for usage and configuration details.
 
diff --git 
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateStarterDocPageMojo.java
 
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateStarterDocPageMojo.java
index 0f3ab3ecbd5..5a2f899a8ac 100644
--- 
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateStarterDocPageMojo.java
+++ 
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateStarterDocPageMojo.java
@@ -432,8 +432,8 @@ public class UpdateStarterDocPageMojo extends 
AbstractSpringBootGenerator {
             String suffix = artifactId.contains("jackson3") ? "3" : "2";
             return name + suffix;
         }
-        // Bindy variants share a single doc page via modelName
-        if (model.getModelName() != null && 
!model.getModelName().equals(name)) {
+        // Bindy variants (bindyCsv, bindyFixed, bindyKvp) share a single doc 
page "bindy"
+        if (artifactId != null && artifactId.equals("camel-bindy") && 
model.getModelName() != null) {
             return model.getModelName();
         }
         return name;

Reply via email to