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