Skip to content

Commit 7da3105

Browse files
committed
feat: update type definitions in proto files for consistent naming and improved clarity
1 parent 587fc17 commit 7da3105

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

definitions/rest/data_types/rest_adapter_input.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
"linkedDataTypeIdentifiers": [
2626
"OBJECT"
2727
],
28-
"type": "{ body: T, headers: OBJECT<{}> }"
28+
"type": "{ payload: T, headers: OBJECT<{}> }"
2929
}

definitions/standard/data_types/object/http_request.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"content": "HTTP Request"
1919
}
2020
],
21-
"type": "{ method: HTTP_METHOD, url: HTTP_URL, body: T, headers: OBJECT<{}> }",
21+
"type": "{ method: HTTP_METHOD, url: HTTP_URL, payload: T, headers: OBJECT<{}> }",
2222
"genericKeys": ["T"],
2323
"rules": [],
2424
"linkedDataTypeIdentifiers": [

definitions/standard/data_types/object/http_response.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "{ body: T, headers: OBJECT<{}>, status_code: HTTP_STATUS_CODE }",
22+
"type": "{ payload: T, headers: OBJECT<{}>, http_status_code: HTTP_STATUS_CODE }",
2323
"linkedDataTypeIdentifiers": [
2424
"HTTP_STATUS_CODE",
2525
"OBJECT"

0 commit comments

Comments
 (0)