Skip to content

Commit b30de59

Browse files
committed
Fix output examples from dsl reference and ctk feature
Signed-off-by: Yuri Zhao <[email protected]>
1 parent 63072cf commit b30de59

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ctk/features/call.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Feature: Call Task
2222
endpoint:
2323
uri: https://petstore.swagger.io/v2/pet/findByStatus?status={status}
2424
output:
25-
from: .[0]
25+
as: .[0]
2626
"""
2727
And given the workflow input is:
2828
"""yaml
@@ -108,7 +108,7 @@ Feature: Call Task
108108
parameters:
109109
status: ${ .status }
110110
output:
111-
from: . | length
111+
as: . | length
112112
"""
113113
And given the workflow input is:
114114
"""yaml

dsl-reference.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,9 +1515,7 @@ schema:
15151515
petId:
15161516
type: string
15171517
required: [ petId ]
1518-
from:
1519-
petId: '${ .pet.id }'
1520-
to: '.petList += [ . ]'
1518+
as: '.petList += [ . ]'
15211519
```
15221520

15231521
### Export

0 commit comments

Comments
 (0)