You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/30 07:56:41 UTC

(camel) branch main updated: CAMEL-20557: Rest DSL to use openapi spec directly

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 42b67c5e65c CAMEL-20557: Rest DSL to use openapi spec directly
42b67c5e65c is described below

commit 42b67c5e65c72fcda3d1c3de6fddedf3449144fc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Mar 30 08:56:22 2024 +0100

    CAMEL-20557: Rest DSL to use openapi spec directly
---
 .../src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java
index 242026c18d5..c6f079b8ea2 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java
@@ -39,7 +39,7 @@ public class OpenApiDefinition extends OptionalIdentifiedDefinition<OpenApiDefin
     @XmlAttribute(required = true)
     private String specification;
     @Metadata
-    private String apiContextPath;
+    private String apiContextPath; // TODO: use from RestConfiguration instead
     @XmlAttribute
     private String routeId;
     @XmlAttribute