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

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

commit 28bd6ca085e49048e1c8b12b5eb1a335b3ce3c75
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Mar 10 11:41:27 2023 +0100

    Azure Functions Sink Kamelets: Added enum for HTTP Methods
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/azure-functions-sink.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kamelets/azure-functions-sink.kamelet.yaml 
b/kamelets/azure-functions-sink.kamelet.yaml
index a8bd24b1..e88eef30 100644
--- a/kamelets/azure-functions-sink.kamelet.yaml
+++ b/kamelets/azure-functions-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"]
       key:
         title: Key
         description: A function-specific API key is required, if the authLevel 
of the function is FUNCTION or master key if the authLevel is ADMIN.

Reply via email to