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

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

commit b37147bdda779313eb1d6221a4ea9f8925f06137
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 615de1f9..c064d940 100644
--- a/kamelets/azure-functions-sink.kamelet.yaml
+++ b/kamelets/azure-functions-sink.kamelet.yaml
@@ -46,6 +46,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