This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch openapi3 in repository https://gitbox.apache.org/repos/asf/camel.git
commit bdb5b01004adcaa7bc79648e93322ae0237b9869 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Feb 29 09:37:41 2024 +0100 CAMEL-20488: Drop support for old swagger v2 spec (openapi v2) --- .../org/apache/camel/catalog/components/rest-openapi.json | 2 +- .../org/apache/camel/component/rest/openapi/rest-openapi.json | 2 +- .../src/main/docs/rest-openapi-component.adoc | 2 +- .../apache/camel/builder/endpoint/StaticEndpointBuilders.java | 6 ++---- .../endpoint/dsl/RestOpenApiEndpointBuilderFactory.java | 11 +++-------- 5 files changed, 8 insertions(+), 15 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 2bf53431873..ef8b4fcc110 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": "Configure REST producers based on an OpenAPI specification document delegating to a component implementing the RestProducerFactory interface.", + "description": "To call 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 2bf53431873..ef8b4fcc110 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": "Configure REST producers based on an OpenAPI specification document delegating to a component implementing the RestProducerFactory interface.", + "description": "To call 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 903dab2155b..c580baafcd4 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: Configure REST producers based on an OpenAPI specification document delegating to a component implementing the RestProducerFactory interface. +:description: To call REST services using OpenAPI specification as contract. :since: 3.1 :supportlevel: Stable :tabs-sync-option: 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 065f232b926..1ee97915462 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 @@ -12511,8 +12511,7 @@ public class StaticEndpointBuilders { } /** * REST OpenApi (camel-rest-openapi) - * Configure REST producers based on an OpenAPI specification document - * delegating to a component implementing the RestProducerFactory interface. + * To call REST services using OpenAPI specification as contract. * * Category: rest,api * Since: 3.1 @@ -12549,8 +12548,7 @@ public class StaticEndpointBuilders { } /** * REST OpenApi (camel-rest-openapi) - * Configure REST producers based on an OpenAPI specification document - * delegating to a component implementing the RestProducerFactory interface. + * To call 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 9e9f8bf8a8d..d3568ea1644 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,8 +27,7 @@ import org.apache.camel.builder.EndpointProducerBuilder; import org.apache.camel.builder.endpoint.AbstractEndpointBuilder; /** - * Configure REST producers based on an OpenAPI specification document - * delegating to a component implementing the RestProducerFactory interface. + * To call REST services using OpenAPI specification as contract. * * Generated by camel build tools - do NOT edit this file! */ @@ -319,9 +318,7 @@ public interface RestOpenApiEndpointBuilderFactory { public interface RestOpenApiBuilders { /** * REST OpenApi (camel-rest-openapi) - * Configure REST producers based on an OpenAPI specification document - * delegating to a component implementing the RestProducerFactory - * interface. + * To call REST services using OpenAPI specification as contract. * * Category: rest,api * Since: 3.1 @@ -357,9 +354,7 @@ public interface RestOpenApiEndpointBuilderFactory { } /** * REST OpenApi (camel-rest-openapi) - * Configure REST producers based on an OpenAPI specification document - * delegating to a component implementing the RestProducerFactory - * interface. + * To call REST services using OpenAPI specification as contract. * * Category: rest,api * Since: 3.1
