diff --git a/definitions/draco_rest/functions/rest_control_respond.proto.json b/definitions/draco_rest/functions/rest_control_respond.proto.json index 2cea857..47433ad 100644 --- a/definitions/draco_rest/functions/rest_control_respond.proto.json +++ b/definitions/draco_rest/functions/rest_control_respond.proto.json @@ -20,52 +20,52 @@ "documentation": [] }, { - "runtimeName": "headers", + "runtimeName": "http_schema", "defaultValue": null, "name": [ { "code": "en-US", - "content": "HTTP response headers" + "content": "Content Type" } ], "description": [ { "code": "en-US", - "content": "A collection of key-value pairs containing additional response metadata." + "content": "Specifies the MIME type of the response payload, such as application/json, application/xml, or text/plain. This determines the expected format of the payload parameter." } ], "documentation": [] }, { - "runtimeName": "http_schema", + "runtimeName": "payload", "defaultValue": null, "name": [ { "code": "en-US", - "content": "Content Type" + "content": "Response Payload" } ], "description": [ { "code": "en-US", - "content": "Specifies the MIME type of the response payload, such as application/json, application/xml, or text/plain. This determines the expected format of the payload parameter." + "content": "Contains the response payload. For application/json the value must be an OBJECT, for all other content types a plain string is expected." } ], "documentation": [] }, { - "runtimeName": "payload", + "runtimeName": "headers", "defaultValue": null, "name": [ { "code": "en-US", - "content": "Response Payload" + "content": "HTTP response headers" } ], "description": [ { "code": "en-US", - "content": "Contains the response payload. For application/json the value must be an OBJECT, for all other content types a plain string is expected." + "content": "A collection of key-value pairs containing additional response metadata." } ], "documentation": [] @@ -99,7 +99,7 @@ } ], "displayIcon": "tabler:cube-send", - "signature": "(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, http_schema: S, payload: HTTP_PAYLOAD): void", + "signature": "(http_status_code: HTTP_STATUS_CODE, http_schema: S, payload: HTTP_PAYLOAD, headers?: OBJECT<{}>): void", "linkedDataTypeIdentifiers": [ "HTTP_STATUS_CODE", "OBJECT", @@ -107,3 +107,4 @@ "HTTP_PAYLOAD" ] } +