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/28 14:40:30 UTC

(camel) 16/38: 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 openapi2
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d1b3aed8b0673b1046ca39871366767852c11b4e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 25 11:01:51 2024 +0100

    CAMEL-20557: Rest DSL to use openapi spec directly
---
 .../org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java
index b1000f26ccc..39184eecadf 100644
--- a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java
+++ b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java
@@ -78,8 +78,6 @@ public class RestOpenApiProcessor extends DelegateAsyncProcessor implements Came
 
     @Override
     public boolean process(Exchange exchange, AsyncCallback callback) {
-        // TODO: binding
-
         String path = exchange.getMessage().getHeader(Exchange.HTTP_PATH, String.class);
         if (path != null && path.startsWith(basePath)) {
             path = path.substring(basePath.length());