From 7da3105cd14f731ffd967d51ad619c5cec583cda Mon Sep 17 00:00:00 2001 From: nicosammito Date: Mon, 13 Apr 2026 20:00:41 +0200 Subject: [PATCH 1/3] feat: update type definitions in proto files for consistent naming and improved clarity --- definitions/rest/data_types/rest_adapter_input.proto.json | 2 +- definitions/standard/data_types/object/http_request.proto.json | 2 +- definitions/standard/data_types/object/http_response.proto.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/definitions/rest/data_types/rest_adapter_input.proto.json b/definitions/rest/data_types/rest_adapter_input.proto.json index 83c6665..ee577f6 100644 --- a/definitions/rest/data_types/rest_adapter_input.proto.json +++ b/definitions/rest/data_types/rest_adapter_input.proto.json @@ -25,5 +25,5 @@ "linkedDataTypeIdentifiers": [ "OBJECT" ], - "type": "{ body: T, headers: OBJECT<{}> }" + "type": "{ payload: T, headers: OBJECT<{}> }" } diff --git a/definitions/standard/data_types/object/http_request.proto.json b/definitions/standard/data_types/object/http_request.proto.json index bd1d1ac..2b2ef0d 100644 --- a/definitions/standard/data_types/object/http_request.proto.json +++ b/definitions/standard/data_types/object/http_request.proto.json @@ -18,7 +18,7 @@ "content": "HTTP Request" } ], - "type": "{ method: HTTP_METHOD, url: HTTP_URL, body: T, headers: OBJECT<{}> }", + "type": "{ method: HTTP_METHOD, url: HTTP_URL, payload: T, headers: OBJECT<{}> }", "genericKeys": ["T"], "rules": [], "linkedDataTypeIdentifiers": [ diff --git a/definitions/standard/data_types/object/http_response.proto.json b/definitions/standard/data_types/object/http_response.proto.json index 606c0fb..e88b7c4 100644 --- a/definitions/standard/data_types/object/http_response.proto.json +++ b/definitions/standard/data_types/object/http_response.proto.json @@ -19,7 +19,7 @@ } ], "genericKeys": ["T"], - "type": "{ body: T, headers: OBJECT<{}>, status_code: HTTP_STATUS_CODE }", + "type": "{ payload: T, headers: OBJECT<{}>, http_status_code: HTTP_STATUS_CODE }", "linkedDataTypeIdentifiers": [ "HTTP_STATUS_CODE", "OBJECT" From 749071c000cd8bb970afe1cc6649c5a09d229d50 Mon Sep 17 00:00:00 2001 From: nicosammito Date: Mon, 13 Apr 2026 20:00:47 +0200 Subject: [PATCH 2/3] feat: update content in http_request_create and http_response_create proto files for improved clarity --- .../runtime_functions/http/http_request_create.proto.json | 4 ++-- .../runtime_functions/http/http_response_create.proto.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/definitions/standard/runtime_functions/http/http_request_create.proto.json b/definitions/standard/runtime_functions/http/http_request_create.proto.json index 6a6bf42..e13d1a2 100644 --- a/definitions/standard/runtime_functions/http/http_request_create.proto.json +++ b/definitions/standard/runtime_functions/http/http_request_create.proto.json @@ -58,7 +58,7 @@ "name": [ { "code": "en-US", - "content": "Request Body" + "content": "Request Payload" } ], "description": [ @@ -93,7 +93,7 @@ "displayMessage": [ { "code": "en-US", - "content": "Create Http-Request with Method: ${http_method}, Headers: ${headers}, Url: ${url} and Payload: ${payload}" + "content": "Create HTTP-Request to ${url} with ${payload}" } ], "deprecationMessage": [], diff --git a/definitions/standard/runtime_functions/http/http_response_create.proto.json b/definitions/standard/runtime_functions/http/http_response_create.proto.json index 7cad30d..8cae035 100644 --- a/definitions/standard/runtime_functions/http/http_response_create.proto.json +++ b/definitions/standard/runtime_functions/http/http_response_create.proto.json @@ -41,7 +41,7 @@ "name": [ { "code": "en-US", - "content": "Request Body" + "content": "Request Payload" } ], "description": [ @@ -76,7 +76,7 @@ "displayMessage": [ { "code": "en-US", - "content": "Create Http-Response with Method: ${http_method}, Headers: ${headers} and Payload: ${payload}" + "content": "Create HTTP-Response for status ${http_status_code} and payload ${payload}" } ], "deprecationMessage": [], From 3f084c9c12b9445c374d151ca76bb6a59ba9073f Mon Sep 17 00:00:00 2001 From: nicosammito Date: Mon, 13 Apr 2026 20:04:36 +0200 Subject: [PATCH 3/3] feat: update http_request.proto.json for consistent naming of HTTP method type --- definitions/standard/data_types/object/http_request.proto.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/definitions/standard/data_types/object/http_request.proto.json b/definitions/standard/data_types/object/http_request.proto.json index 2b2ef0d..a2892ba 100644 --- a/definitions/standard/data_types/object/http_request.proto.json +++ b/definitions/standard/data_types/object/http_request.proto.json @@ -18,7 +18,7 @@ "content": "HTTP Request" } ], - "type": "{ method: HTTP_METHOD, url: HTTP_URL, payload: T, headers: OBJECT<{}> }", + "type": "{ http_method: HTTP_METHOD, url: HTTP_URL, payload: T, headers: OBJECT<{}> }", "genericKeys": ["T"], "rules": [], "linkedDataTypeIdentifiers": [