Skip to content

Commit b6b4e37

Browse files
committed
feat(schema): allow expressions in HTTP query and headers
1 parent e14ec7a commit b6b4e37

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

schema/workflow.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,14 +357,22 @@ $defs:
357357
description: The HTTP endpoint to send the request to.
358358
$ref: '#/$defs/endpoint'
359359
headers:
360-
type: object
360+
oneOf:
361+
- type: object
362+
additionalProperties:
363+
type: string
364+
- $ref: '#/$defs/runtimeExpression'
361365
title: HTTPHeaders
362366
description: A name/value mapping of the headers, if any, of the HTTP request to perform.
363367
body:
364368
title: HTTPBody
365369
description: The body, if any, of the HTTP request to perform.
366370
query:
367-
type: object
371+
oneOf:
372+
- type: object
373+
additionalProperties:
374+
type: string
375+
- $ref: '#/$defs/runtimeExpression'
368376
title: HTTPQuery
369377
description: A name/value mapping of the query parameters, if any, of the HTTP request to perform.
370378
additionalProperties: true

0 commit comments

Comments
 (0)