From 954ad65375eb429a45551009a1e3f571b8db6d36 Mon Sep 17 00:00:00 2001 From: nicosammito Date: Thu, 21 May 2026 14:46:09 +0200 Subject: [PATCH] feat: enhance rest.proto.json with generic input schema and improved signature clarity --- .../runtime_flow_types/rest.proto.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/definitions/draco_rest/runtime_flow_types/rest.proto.json b/definitions/draco_rest/runtime_flow_types/rest.proto.json index dba7236..760f68d 100644 --- a/definitions/draco_rest/runtime_flow_types/rest.proto.json +++ b/definitions/draco_rest/runtime_flow_types/rest.proto.json @@ -27,13 +27,29 @@ } ], "displayIcon": "tabler:world-www", - "signature": "(httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT<{}>", + "signature": "(input_schema: TYPE, httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT", "linkedDataTypeIdentifiers": [ "HTTP_URL", "HTTP_METHOD", "REST_ADAPTER_INPUT" ], "runtimeSettings": [ + { + "identifier": "input_schema", + "unique": "NONE", + "name": [ + { + "code": "en-US", + "content": "Input schema" + } + ], + "description": [ + { + "code": "en-US", + "content": "Input schema which defines the expected structure of the incoming request data." + } + ] + }, { "identifier": "httpURL", "unique": "PROJECT",