Skip to content

Commit d33b1a0

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

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
@@ -218,8 +218,11 @@ $defs:
218218
type: string
219219
description: The HTTP method of the HTTP request to perform.
220220
endpoint:
221-
$ref: '#/$defs/endpoint'
222221
description: The HTTP endpoint to send the request to.
222+
oneOf:
223+
- $ref: '#/$defs/endpoint'
224+
- type: string
225+
format: uri
223226
headers:
224227
type: object
225228
description: A name/value mapping of the headers, if any, of the HTTP request to perform.

0 commit comments

Comments
 (0)