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 ecb8c4957327cea34e4c0d511b01b915cdc8d888 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Feb 29 09:35:44 2024 +0100 CAMEL-20488: Drop support for old swagger v2 spec (openapi v2) --- .../component/rest/openapi/RestOpenApiEndpoint.java | 3 +-- .../ROOT/pages/camel-4x-upgrade-guide-4_5.adoc | 20 ++++---------------- 2 files changed, 5 insertions(+), 18 deletions(-) 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 9a04ed39ef5..b121f6712d5 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 @@ -88,8 +88,7 @@ import static org.apache.camel.util.StringHelper.before; import static org.apache.camel.util.StringHelper.notEmpty; /** - * 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. */ @UriEndpoint(firstVersion = "3.1.0", scheme = "rest-openapi", title = "REST OpenApi", syntax = "rest-openapi:specificationUri#operationId", category = { Category.REST, Category.API }, diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_5.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_5.adoc index 1911e336948..908b9ed90c9 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_5.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_5.adoc @@ -107,23 +107,11 @@ micrometer and metrics no longer include statistics for those Kamelet routes. The old behaviour can be enabled by setting `registerRoutesCreateByKamelet=true` on the `ManagementAgent` object. See more in the xref:jmx.adoc[JMX] documentation. -=== camel-kamelet - -Routes created by Kamelets are no longer registered as JMX MBeans to avoid cluttering up with unwanted MBeans, as a Kamelet -is intended to act like a Camel component, despite its implementation is Camel routes. This means that the number of routes -listed from JMX will no longer include Kamelet routes. - -The old behaviour can be enabled by setting `registerRoutesCreateByKamelet=true` -on the `ManagementAgent` object. See more in the xref:jmx.adoc[JMX] documentation. +=== camel-openapi-java and camel-rest-openapi -=== camel-micrometer and camel-metrics - -Due to Kamelets are changed to act more like a Camel component, and not expose internal details as JMX MBeans, then -micrometer and metrics no longer include statistics for those Kamelet routes. - -The old behaviour can be enabled by setting `registerRoutesCreateByKamelet=true` -on the `ManagementAgent` object. See more in the xref:jmx.adoc[JMX] documentation. +Dropped support for the old Swagger 2.0 spec. Only OpenAPI v3 specs is supported now. +Fixed maven dependencies to be JakartaEE compatible. === camel-platform-http-vertx -Added a Cookie Handler allowing the addition, retrieval and expiry of Cookies. \ No newline at end of file +Added a Cookie Handler allowing the addition, retrieval and expiry of Cookies.
