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/10 10:46:31 UTC

[camel-kamelets] 01/02: Azure Functions Sink Kamelets: Added enum for HTTP Methods

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 <an...@gmail.com>
AuthorDate: Fri Mar 10 11:41:27 2023 +0100

    Azure Functions Sink Kamelets: Added enum for HTTP Methods
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 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.