Skip to content

Commit 35a2379

Browse files
authored
Merge pull request #281 from code0-tech/feat/#276
HTTP_REQUEST and HTTP_RESPONSE are Missing Generic Declaration
2 parents 881a693 + 70861cf commit 35a2379

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

definitions/rest/runtime_definition/rest_control_respond.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@
4747
"throwsError": false,
4848
"displayIcon": "tabler:cube-sent",
4949
"linkedDataTypeIdentifiers": ["HTTP_RESPONSE"],
50-
"signature": "(http_response: HTTP_RESPONSE): void"
50+
"signature": "<T>(http_response: HTTP_RESPONSE<T>): void"
5151
}

definitions/standard/runtime_definition/http/http_request_create.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
],
9999
"deprecationMessage": [],
100100
"displayIcon": "tabler:world-www",
101-
"signature": "<T>(http_method: HTTP_METHOD, headers: OBJECT<{}>, url: HTTP_URL, payload: T): HTTP_REQUEST",
101+
"signature": "<T>(http_method: HTTP_METHOD, headers: OBJECT<{}>, url: HTTP_URL, payload: T): HTTP_REQUEST<T>",
102102
"linkedDataTypeIdentifiers": [
103103
"HTTP_URL",
104104
"HTTP_METHOD",

definitions/standard/runtime_definition/http/http_response_create.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
],
8282
"deprecationMessage": [],
8383
"displayIcon": "tabler:world-www",
84-
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, payload: T): HTTP_RESPONSE",
84+
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, payload: T): HTTP_RESPONSE<T>",
8585
"linkedDataTypeIdentifiers": [
8686
"HTTP_STATUS_CODE",
8787
"OBJECT",

0 commit comments

Comments
 (0)