Skip to content

Commit 9853412

Browse files
fix: update dsl reference example
Signed-off-by: Matthias Pichler <m.pichler@warrify.com>
1 parent 61186a7 commit 9853412

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dsl-reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,11 +1544,11 @@ output:
15441544
petId:
15451545
type: string
15461546
required: [ petId ]
1547-
as:
1548-
petId: '${ .pet.id }'
1547+
as:
1548+
petId: '${ .pet.id }'
15491549
export:
15501550
as:
1551-
'.petList += [ . ]'
1551+
'.petList += [ $task.output ]'
15521552
```
15531553

15541554
### Export
@@ -1566,13 +1566,13 @@ Optionally, the context might have an associated schema.
15661566

15671567
#### Examples
15681568

1569-
Merge the task output into the current context.
1569+
Merge the task output into the current context.
15701570

15711571
```yaml
15721572
as: '.+$output'
15731573
```
15741574

1575-
Replace the context with the task output.
1575+
Replace the context with the task output.
15761576

15771577
```yaml
15781578
as: $output

0 commit comments

Comments
 (0)