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 8aeee37dd5f Polished openapi-java doc
8aeee37dd5f is described below

commit 8aeee37dd5f6f4984f305c3cbcc9a9fc75c7223b
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jan 20 14:29:58 2025 +0100

    Polished openapi-java doc
---
 .../org/apache/camel/catalog/others/openapi-java.json          |  2 +-
 components/camel-openapi-java/pom.xml                          |  2 +-
 .../META-INF/services/org/apache/camel/other.properties        |  2 +-
 .../src/generated/resources/openapi-java.json                  |  2 +-
 components/camel-openapi-java/src/main/docs/openapi-java.adoc  | 10 ++--------
 5 files changed, 6 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/openapi-java.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/openapi-java.json
index ad6999e72c1..cd7409d43eb 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/openapi-java.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/openapi-java.json
@@ -3,7 +3,7 @@
     "kind": "other",
     "name": "openapi-java",
     "title": "Openapi Java",
-    "description": "Rest-dsl support for using openapi doc",
+    "description": "Rest DSL support for using OpenApi doc",
     "deprecated": false,
     "firstVersion": "3.1.0",
     "label": "rest,api",
diff --git a/components/camel-openapi-java/pom.xml 
b/components/camel-openapi-java/pom.xml
index 7d8daf89a3d..9a62e40da40 100644
--- a/components/camel-openapi-java/pom.xml
+++ b/components/camel-openapi-java/pom.xml
@@ -30,7 +30,7 @@
     <packaging>jar</packaging>
 
     <name>Camel :: OpenApi Java</name>
-    <description>Rest-dsl support for using openapi doc</description>
+    <description>Rest DSL support for using OpenApi doc</description>
 
     <properties>
         <firstVersion>3.1.0</firstVersion>
diff --git 
a/components/camel-openapi-java/src/generated/resources/META-INF/services/org/apache/camel/other.properties
 
b/components/camel-openapi-java/src/generated/resources/META-INF/services/org/apache/camel/other.properties
index 4d04d4043f3..2bab5ee37aa 100644
--- 
a/components/camel-openapi-java/src/generated/resources/META-INF/services/org/apache/camel/other.properties
+++ 
b/components/camel-openapi-java/src/generated/resources/META-INF/services/org/apache/camel/other.properties
@@ -4,4 +4,4 @@ groupId=org.apache.camel
 artifactId=camel-openapi-java
 version=4.10.0-SNAPSHOT
 projectName=Camel :: OpenApi Java
-projectDescription=Rest-dsl support for using openapi doc
+projectDescription=Rest DSL support for using OpenApi doc
diff --git 
a/components/camel-openapi-java/src/generated/resources/openapi-java.json 
b/components/camel-openapi-java/src/generated/resources/openapi-java.json
index ad6999e72c1..cd7409d43eb 100644
--- a/components/camel-openapi-java/src/generated/resources/openapi-java.json
+++ b/components/camel-openapi-java/src/generated/resources/openapi-java.json
@@ -3,7 +3,7 @@
     "kind": "other",
     "name": "openapi-java",
     "title": "Openapi Java",
-    "description": "Rest-dsl support for using openapi doc",
+    "description": "Rest DSL support for using OpenApi doc",
     "deprecated": false,
     "firstVersion": "3.1.0",
     "label": "rest,api",
diff --git a/components/camel-openapi-java/src/main/docs/openapi-java.adoc 
b/components/camel-openapi-java/src/main/docs/openapi-java.adoc
index 107651c1279..3c4b7a70781 100644
--- a/components/camel-openapi-java/src/main/docs/openapi-java.adoc
+++ b/components/camel-openapi-java/src/main/docs/openapi-java.adoc
@@ -2,7 +2,7 @@
 :doctitle: Openapi Java
 :shortname: openapi-java
 :artifactid: camel-openapi-java
-:description: Rest-dsl support for using openapi doc
+:description: Rest DSL support for using OpenApi doc
 :since: 3.1
 :supportlevel: Stable
 :tabs-sync-option:
@@ -186,7 +186,7 @@ via the `host` field and in OpenAPI V3 it is part of the 
`servers` field.
 
 By default, the value for these fields is determined by `X-Forwarded` headers, 
`X-Forwarded-Host` & `X-Forwarded-Proto`.
 
-This can be overridden by disabling the lookup of `X-Forwarded` headers and by 
specifying your own host, port & scheme on the REST configuration.
+This can be overridden by specifying your own host, port & scheme on the REST 
configuration.
 
 [source,java]
 ----
@@ -197,10 +197,4 @@ restConfiguration().component("netty-http")
     .port(8080);
 ----
 
-== Examples
-
-In the Apache Camel distribution we ship the `camel-example-openapi-cdi`
-and `camel-example-spring-boot-rest-openapi-simple` which demonstrates
-using this OpenApi component.
-
 include::spring-boot:partial$starter.adoc[]

Reply via email to