Skip to content

Commit 0756cc1

Browse files
authored
Merge pull request #343 from code0-tech/feat/#330
Input type should be a parameter for flow types
2 parents 6489683 + 954ad65 commit 0756cc1

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

definitions/draco_rest/runtime_flow_types/rest.proto.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,29 @@
2727
}
2828
],
2929
"displayIcon": "tabler:world-www",
30-
"signature": "(httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT<{}>",
30+
"signature": "<T>(input_schema: TYPE<T>, httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT<T>",
3131
"linkedDataTypeIdentifiers": [
3232
"HTTP_URL",
3333
"HTTP_METHOD",
3434
"REST_ADAPTER_INPUT"
3535
],
3636
"runtimeSettings": [
37+
{
38+
"identifier": "input_schema",
39+
"unique": "NONE",
40+
"name": [
41+
{
42+
"code": "en-US",
43+
"content": "Input schema"
44+
}
45+
],
46+
"description": [
47+
{
48+
"code": "en-US",
49+
"content": "Input schema which defines the expected structure of the incoming request data."
50+
}
51+
]
52+
},
3753
{
3854
"identifier": "httpURL",
3955
"unique": "PROJECT",

0 commit comments

Comments
 (0)