Skip to content

Commit 2fb7791

Browse files
committed
feat: adding http schema to webhook flow type
1 parent fcc5e9a commit 2fb7791

2 files changed

Lines changed: 42 additions & 8 deletions

File tree

definitions/draco_rest/flow_types/rest.proto.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
}
2929
],
3030
"displayIcon": "tabler:world-www",
31-
"signature": "<A extends REST_AUTH_TYPE, T>(input_schema: TYPE<T>, httpURL: HTTP_URL, httpMethod: HTTP_METHOD, httpAuth: A, httpAuthValue: REST_AUTH_VALUE<A>): REST_ADAPTER_INPUT<T>",
31+
"signature": "<A extends REST_AUTH_TYPE, T>(httpSchema: HTTP_SCHEMA, httpURL: HTTP_URL, httpMethod: HTTP_METHOD, httpAuth: A, httpAuthValue: REST_AUTH_VALUE<A>, input_schema: TYPE<T>): REST_ADAPTER_INPUT<T>",
3232
"linkedDataTypeIdentifiers": [
33+
"HTTP_SCHEMA",
3334
"HTTP_URL",
3435
"HTTP_METHOD",
3536
"REST_AUTH_TYPE",
@@ -38,18 +39,18 @@
3839
],
3940
"settings": [
4041
{
41-
"identifier": "input_schema",
42+
"identifier": "httpSchema",
4243
"unique": "NONE",
4344
"name": [
4445
{
4546
"code": "en-US",
46-
"content": "Input schema"
47+
"content": "Content Type"
4748
}
4849
],
4950
"description": [
5051
{
5152
"code": "en-US",
52-
"content": "Input schema which defines the expected structure of the incoming request data."
53+
"content": "Specifies the MIME type of the incoming request payload, such as application/json, application/xml, or text/plain. This determines the expected format of the payload parameter."
5354
}
5455
]
5556
},
@@ -116,6 +117,22 @@
116117
"content": "Provides the credential value matching the selected authentication type (e.g., token string or username/password pair)."
117118
}
118119
]
120+
},
121+
{
122+
"identifier": "input_schema",
123+
"unique": "NONE",
124+
"name": [
125+
{
126+
"code": "en-US",
127+
"content": "Input schema"
128+
}
129+
],
130+
"description": [
131+
{
132+
"code": "en-US",
133+
"content": "Input schema which defines the expected structure of the incoming request data."
134+
}
135+
]
119136
}
120137
]
121138
}

definitions/draco_rest/runtime_flow_types/rest.proto.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
}
2828
],
2929
"displayIcon": "tabler:world-www",
30-
"signature": "<A extends REST_AUTH_TYPE, T>(input_schema: TYPE<T>, httpURL: HTTP_URL, httpMethod: HTTP_METHOD, httpAuth: A, httpAuthValue: REST_AUTH_VALUE<A>): REST_ADAPTER_INPUT<T>",
30+
"signature": "<A extends REST_AUTH_TYPE, T>(httpSchema: HTTP_SCHEMA, httpURL: HTTP_URL, httpMethod: HTTP_METHOD, httpAuth: A, httpAuthValue: REST_AUTH_VALUE<A>, input_schema: TYPE<T>): REST_ADAPTER_INPUT<T>",
3131
"linkedDataTypeIdentifiers": [
32+
"HTTP_SCHEMA",
3233
"HTTP_URL",
3334
"HTTP_METHOD",
3435
"REST_AUTH_TYPE",
@@ -37,18 +38,18 @@
3738
],
3839
"runtimeSettings": [
3940
{
40-
"identifier": "input_schema",
41+
"identifier": "httpSchema",
4142
"unique": "NONE",
4243
"name": [
4344
{
4445
"code": "en-US",
45-
"content": "Input schema"
46+
"content": "Content Type"
4647
}
4748
],
4849
"description": [
4950
{
5051
"code": "en-US",
51-
"content": "Input schema which defines the expected structure of the incoming request data."
52+
"content": "Specifies the MIME type of the incoming request payload, such as application/json, application/xml, or text/plain. This determines the expected format of the payload parameter."
5253
}
5354
]
5455
},
@@ -115,6 +116,22 @@
115116
"content": "Provides the credential value matching the selected authentication type (e.g., token string or username/password pair)."
116117
}
117118
]
119+
},
120+
{
121+
"identifier": "input_schema",
122+
"unique": "NONE",
123+
"name": [
124+
{
125+
"code": "en-US",
126+
"content": "Input schema"
127+
}
128+
],
129+
"description": [
130+
{
131+
"code": "en-US",
132+
"content": "Input schema which defines the expected structure of the incoming request data."
133+
}
134+
]
118135
}
119136
]
120137
}

0 commit comments

Comments
 (0)