Skip to content

Commit

Permalink
fix: update dsl reference example
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Pichler <m.pichler@warrify.com>
  • Loading branch information
matthias-pichler committed Aug 7, 2024
1 parent 61186a7 commit 9853412
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1544,11 +1544,11 @@ output:
petId:
type: string
required: [ petId ]
as:
petId: '${ .pet.id }'
as:
petId: '${ .pet.id }'
export:
as:
'.petList += [ . ]'
'.petList += [ $task.output ]'
```

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

#### Examples

Merge the task output into the current context.
Merge the task output into the current context.

```yaml
as: '.+$output'
```

Replace the context with the task output.
Replace the context with the task output.

```yaml
as: $output
Expand Down

0 comments on commit 9853412

Please sign in to comment.