You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/03/13 09:17:26 UTC

[camel-kamelets] 02/04: Enum Http Method in Http Sink Kamelet

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 0.9.x-http-methods
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 82687718f2a6858ed7d6a8f05d2d4e13ac28fec6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 13 10:07:58 2023 +0100

    Enum Http Method in Http Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../camel-kamelets/src/main/resources/kamelets/http-sink.kamelet.yaml    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/http-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/http-sink.kamelet.yaml
index 462f5713..ae1e8611 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/http-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/http-sink.kamelet.yaml
@@ -45,6 +45,7 @@ spec:
         description: The HTTP method to use.
         type: string
         default: POST
+        enum: ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH"]
   dependencies:
   - "camel:http"
   - "camel:kamelet"