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:25 UTC
[camel-kamelets] 01/04: Enum 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 80f11eb6a0e5568560f40261cfe3a6c199654819
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 13 10:06:11 2023 +0100
Enum Method in Http Sink Kamelet
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/http-sink.kamelet.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/kamelets/http-sink.kamelet.yaml b/kamelets/http-sink.kamelet.yaml
index 462f5713..ae1e8611 100644
--- a/kamelets/http-sink.kamelet.yaml
+++ b/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"