Skip to content

Commit 96d5cce

Browse files
author
nicosammito
committed
feat: update identifiers in rest.proto.json for improved naming consistency and type handling
1 parent f6080a2 commit 96d5cce

1 file changed

Lines changed: 10 additions & 16 deletions

File tree

definitions/rest/flow_type/rest.proto.json

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
"identifier": "REST",
33
"settings": [
44
{
5-
"identifier": "HTTP_URL",
5+
"identifier": "httpURL",
66
"unique": "PROJECT",
7-
"type": "HTTP_URL",
8-
"linkedDataTypeIdentifiers": [
9-
"HTTP_URL"
10-
],
117
"name": [
128
{
139
"code": "en-US",
@@ -22,12 +18,8 @@
2218
]
2319
},
2420
{
25-
"identifier": "HTTP_METHOD",
21+
"identifier": "httpMethod",
2622
"unique": "NONE",
27-
"type": "HTTP_METHOD",
28-
"linkedDataTypeIdentifiers": [
29-
"HTTP_METHOD"
30-
],
3123
"name": [
3224
{
3325
"code": "en-US",
@@ -42,11 +34,7 @@
4234
]
4335
}
4436
],
45-
"inputType": "REST_ADAPTER_INPUT<{}>",
46-
"linkedDataTypeIdentifiers": [
47-
"REST_ADAPTER_INPUT"
48-
],
49-
"editable": false,
37+
"editable": true,
5038
"name": [
5139
{
5240
"code": "en-US",
@@ -72,5 +60,11 @@
7260
"content": "http;rest;route;web;webhook"
7361
}
7462
],
75-
"displayIcon": "tabler:world-www"
63+
"displayIcon": "tabler:world-www",
64+
"signature": "(httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT<{}>",
65+
"linkedDataTypeIdentifiers": [
66+
"HTTP_URL",
67+
"HTTP_METHOD",
68+
"REST_ADAPTER_INPUT"
69+
]
7670
}

0 commit comments

Comments
 (0)