From 6eb66f95fc907698931f9d03d2bf2b3abbe9583d Mon Sep 17 00:00:00 2001 From: raphael-goetz Date: Tue, 4 Nov 2025 20:01:11 +0100 Subject: [PATCH] feat: added specific http adapter input object --- .../object/http_adapter_input.proto.json | 36 +++++++++++++++++++ definitions/http/flow_type/http.proto.json | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 definitions/http/data_type/object/http_adapter_input.proto.json diff --git a/definitions/http/data_type/object/http_adapter_input.proto.json b/definitions/http/data_type/object/http_adapter_input.proto.json new file mode 100644 index 0000000..e658bb3 --- /dev/null +++ b/definitions/http/data_type/object/http_adapter_input.proto.json @@ -0,0 +1,36 @@ +{ + "variant": "OBJECT", + "identifier": "HTTP_ADAPTER_INPUT", + "name": [ + { + "code": "en-US", + "content": "HTTP Adapter Input" + } + ], + "rules": [ + { + "containsKey": { + "key": "body", + "dataTypeIdentifier": { + "dataTypeIdentifier": "OBJECT" + } + } + }, + { + "containsKey": { + "key": "headers", + "dataTypeIdentifier": { + "dataTypeIdentifier": "HTTP_HEADER_MAP" + } + } + }, + { + "parentType": { + "parentType": { + "dataTypeIdentifier": "OBJECT" + } + } + } + ], + "genericKeys": [] +} \ No newline at end of file diff --git a/definitions/http/flow_type/http.proto.json b/definitions/http/flow_type/http.proto.json index abdd3d3..e894e9a 100644 --- a/definitions/http/flow_type/http.proto.json +++ b/definitions/http/flow_type/http.proto.json @@ -56,7 +56,7 @@ ] } ], - "inputTypeIdentifier": "HTTP_REQUEST", + "inputTypeIdentifier": "HTTP_ADAPTER_INPUT", "returnTypeIdentifier": "HTTP_RESPONSE", "editable": false, "name": [