This is an automated email from the ASF dual-hosted git repository.
gnodet 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 dc6e6b0ac0f8 CAMEL-23013: Enhance the OpenAPI component's description
dc6e6b0ac0f8 is described below
commit dc6e6b0ac0f81a020e97a5c4a06b708169c0b52a
Author: Guillaume Nodet <[email protected]>
AuthorDate: Mon Mar 23 17:55:39 2026 +0100
CAMEL-23013: Enhance the OpenAPI component's description
Update the rest-openapi component description to mention both producer and
consumer capabilities: "To call and expose REST services using OpenAPI
specification as contract."
---
.../org/apache/camel/catalog/components/rest-openapi.json | 2 +-
.../org/apache/camel/component/rest/openapi/rest-openapi.json | 2 +-
.../camel-rest-openapi/src/main/docs/rest-openapi-component.adoc | 2 +-
.../apache/camel/component/rest/openapi/RestOpenApiEndpoint.java | 2 +-
.../apache/camel/builder/component/ComponentsBuilderFactory.java | 2 +-
.../builder/component/dsl/RestOpenapiComponentBuilderFactory.java | 4 ++--
.../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 4 ++--
.../builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java | 8 +++++---
8 files changed, 14 insertions(+), 12 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
index 1c49b0e5c840..d10d978a9898 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "rest-openapi",
"title": "REST OpenApi",
- "description": "To call REST services using OpenAPI specification as
contract.",
+ "description": "To call and expose REST services using OpenAPI
specification as contract.",
"deprecated": false,
"firstVersion": "3.1.0",
"label": "rest,api",
diff --git
a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
index 1c49b0e5c840..d10d978a9898 100644
---
a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
+++
b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "rest-openapi",
"title": "REST OpenApi",
- "description": "To call REST services using OpenAPI specification as
contract.",
+ "description": "To call and expose REST services using OpenAPI
specification as contract.",
"deprecated": false,
"firstVersion": "3.1.0",
"label": "rest,api",
diff --git
a/components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
b/components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
index fb9884488385..7ac74e4937b4 100644
--- a/components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
+++ b/components/camel-rest-openapi/src/main/docs/rest-openapi-component.adoc
@@ -2,7 +2,7 @@
:doctitle: REST OpenApi
:shortname: rest-openapi
:artifactid: camel-rest-openapi
-:description: To call REST services using OpenAPI specification as contract.
+:description: To call and expose REST services using OpenAPI specification as
contract.
:since: 3.1
:supportlevel: Stable
:tabs-sync-option:
diff --git
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
index d5bad5e27235..d90cbfa5597c 100644
---
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
+++
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
@@ -86,7 +86,7 @@ import static org.apache.camel.util.StringHelper.after;
import static org.apache.camel.util.StringHelper.before;
/**
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as contract.
*/
@UriEndpoint(firstVersion = "3.1.0", scheme = "rest-openapi", title = "REST
OpenApi",
syntax = "rest-openapi:specificationUri#operationId", category =
{ Category.REST, Category.API })
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 92fe76e75500..8029a19b5bff 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -4183,7 +4183,7 @@ public interface ComponentsBuilderFactory {
}
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
contract.
*
* Category: rest,api
* Since: 3.1
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
index de597ad724df..da9039e04d33 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
@@ -24,7 +24,7 @@ import org.apache.camel.builder.component.ComponentBuilder;
import org.apache.camel.component.rest.openapi.RestOpenApiComponent;
/**
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as contract.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -33,7 +33,7 @@ public interface RestOpenapiComponentBuilderFactory {
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
contract.
*
* Category: rest,api
* Since: 3.1
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 3832345d2684..13936402af2b 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -13924,7 +13924,7 @@ public class StaticEndpointBuilders {
}
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
contract.
*
* Category: rest,api
* Since: 3.1
@@ -13961,7 +13961,7 @@ public class StaticEndpointBuilders {
}
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
contract.
*
* Category: rest,api
* Since: 3.1
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
index fc50a71c87a9..bf2adee3f17a 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
@@ -27,7 +27,7 @@ import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as contract.
*
* Generated by camel build tools - do NOT edit this file!
*/
@@ -586,7 +586,8 @@ public interface RestOpenApiEndpointBuilderFactory {
public interface RestOpenApiBuilders {
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
+ * contract.
*
* Category: rest,api
* Since: 3.1
@@ -623,7 +624,8 @@ public interface RestOpenApiEndpointBuilderFactory {
}
/**
* REST OpenApi (camel-rest-openapi)
- * To call REST services using OpenAPI specification as contract.
+ * To call and expose REST services using OpenAPI specification as
+ * contract.
*
* Category: rest,api
* Since: 3.1