This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch CAMEL-23013 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7f2ed19663940b12970920ea1c8d52840306bef4 Author: Guillaume Nodet <[email protected]> AuthorDate: Mon Mar 23 11:31:58 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." Co-Authored-By: Claude Opus 4.6 <[email protected]> --- .../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 +- .../builder/component/dsl/RestOpenapiComponentBuilderFactory.java | 4 ++-- .../builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java | 8 +++++--- 6 files changed, 11 insertions(+), 9 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/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/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
