Skip to content

Commit ef679e1

Browse files
committed
Updated Output example
Signed-off-by: Yuri Zhao <[email protected]>
1 parent b30de59 commit ef679e1

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

dsl-reference.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,15 +1507,20 @@ When set, runtimes must validate output data against the defined schema, unless
15071507
#### Examples
15081508

15091509
```yaml
1510-
schema:
1511-
format: json
1512-
document:
1513-
type: object
1514-
properties:
1515-
petId:
1516-
type: string
1517-
required: [ petId ]
1518-
as: '.petList += [ . ]'
1510+
output:
1511+
schema:
1512+
format: json
1513+
document:
1514+
type: object
1515+
properties:
1516+
petId:
1517+
type: string
1518+
required: [ petId ]
1519+
as:
1520+
petId: '${ .pet.id }'
1521+
export:
1522+
as:
1523+
'.petList += [ . ]'
15191524
```
15201525

15211526
### Export

0 commit comments

Comments
 (0)