|
19 | 19 | "documentation": [] |
20 | 20 | }, |
21 | 21 | { |
22 | | - "runtimeName": "headers", |
| 22 | + "runtimeName": "http_schema", |
23 | 23 | "defaultValue": null, |
24 | 24 | "name": [ |
25 | 25 | { |
26 | 26 | "code": "en-US", |
27 | | - "content": "HTTP response headers" |
| 27 | + "content": "Content Type" |
28 | 28 | } |
29 | 29 | ], |
30 | 30 | "description": [ |
31 | 31 | { |
32 | 32 | "code": "en-US", |
33 | | - "content": "A collection of key-value pairs containing additional response metadata." |
| 33 | + "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." |
34 | 34 | } |
35 | 35 | ], |
36 | 36 | "documentation": [] |
37 | 37 | }, |
38 | 38 | { |
39 | | - "runtimeName": "http_schema", |
| 39 | + "runtimeName": "payload", |
40 | 40 | "defaultValue": null, |
41 | 41 | "name": [ |
42 | 42 | { |
43 | 43 | "code": "en-US", |
44 | | - "content": "Content Type" |
| 44 | + "content": "Response Payload" |
45 | 45 | } |
46 | 46 | ], |
47 | 47 | "description": [ |
48 | 48 | { |
49 | 49 | "code": "en-US", |
50 | | - "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." |
| 50 | + "content": "Contains the response payload. For application/json the value must be an OBJECT, for all other content types a plain string is expected." |
51 | 51 | } |
52 | 52 | ], |
53 | 53 | "documentation": [] |
54 | 54 | }, |
55 | 55 | { |
56 | | - "runtimeName": "payload", |
| 56 | + "runtimeName": "headers", |
57 | 57 | "defaultValue": null, |
58 | 58 | "name": [ |
59 | 59 | { |
60 | 60 | "code": "en-US", |
61 | | - "content": "Response Payload" |
| 61 | + "content": "HTTP response headers" |
62 | 62 | } |
63 | 63 | ], |
64 | 64 | "description": [ |
65 | 65 | { |
66 | 66 | "code": "en-US", |
67 | | - "content": "Contains the response payload. For application/json the value must be an OBJECT, for all other content types a plain string is expected." |
| 67 | + "content": "A collection of key-value pairs containing additional response metadata." |
68 | 68 | } |
69 | 69 | ], |
70 | 70 | "documentation": [] |
|
98 | 98 | } |
99 | 99 | ], |
100 | 100 | "displayIcon": "tabler:cube-send", |
101 | | - "signature": "<S extends HTTP_SCHEMA>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, http_schema: S, payload: HTTP_PAYLOAD<S>): void", |
| 101 | + "signature": "<S extends HTTP_SCHEMA>(http_status_code: HTTP_STATUS_CODE, http_schema: S, payload: HTTP_PAYLOAD<S>, headers?: OBJECT<{}>): void", |
102 | 102 | "linkedDataTypeIdentifiers": [ |
103 | 103 | "HTTP_STATUS_CODE", |
104 | 104 | "OBJECT", |
|
0 commit comments