Skip to content

Commit a07afc0

Browse files
fix: allow to specify endpoint as string as described in dsl
Signed-off-by: Matthias Pichler <[email protected]>
1 parent e7cd73f commit a07afc0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

schema/workflow.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,11 @@ $defs:
211211
type: string
212212
description: The HTTP method of the HTTP request to perform.
213213
endpoint:
214-
$ref: '#/$defs/endpoint'
215214
description: The HTTP endpoint to send the request to.
215+
oneOf:
216+
- $ref: '#/$defs/endpoint'
217+
- type: string
218+
format: uri
216219
headers:
217220
type: object
218221
description: A name/value mapping of the headers, if any, of the HTTP request to perform.

0 commit comments

Comments
 (0)