From fff3d75cf6e92448f9ab3c0918bf16931f635350 Mon Sep 17 00:00:00 2001 From: nicosammito Date: Thu, 17 Sep 2026 00:07:59 +0200 Subject: [PATCH] feat: adjust type constraints in REST event signature for improved type safety --- actions/rest-action/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/rest-action/src/events.rs b/actions/rest-action/src/events.rs index 020c89e..1e0dfa2 100644 --- a/actions/rest-action/src/events.rs +++ b/actions/rest-action/src/events.rs @@ -7,7 +7,7 @@ #[hercules_sdk::runtime_event( identifier = "REST", - signature = "(http_schema: HTTP_SCHEMA, http_url: HTTP_URL, http_method: HTTP_METHOD, http_auth: A, http_auth_value: REST_AUTH_VALUE, input_schema: TYPE): REST_ADAPTER_INPUT", + signature = "(http_schema: HTTP_SCHEMA, http_url: HTTP_URL, http_method: HTTP_METHOD, http_auth: A, http_auth_value: REST_AUTH_VALUE, input_schema: T): REST_ADAPTER_INPUT", name(en_US = "Webhook"), description( en_US = "A Webhook is an HTTP endpoint that listens for incoming requests from external services or clients, allowing you to react to events in real time using standard HTTP methods like GET, POST, PUT, and DELETE."