Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions definitions/draco_rest/functions/rest_control_respond.proto.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down Expand Up @@ -99,11 +99,12 @@
}
],
"displayIcon": "tabler:cube-send",
"signature": "<S extends HTTP_SCHEMA>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, http_schema: S, payload: HTTP_PAYLOAD<S>): void",
"signature": "<S extends HTTP_SCHEMA>(http_status_code: HTTP_STATUS_CODE, http_schema: S, payload: HTTP_PAYLOAD<S>, headers?: OBJECT<{}>): void",
"linkedDataTypeIdentifiers": [
"HTTP_STATUS_CODE",
"OBJECT",
"HTTP_SCHEMA",
"HTTP_PAYLOAD"
]
}