Skip to content

Commit 53cf86d

Browse files
committed
clarify map feature
1 parent 70a076a commit 53cf86d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

v1.0/Workflow.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,29 @@ $graph:
3939
Since draft-3, this draft introduces the following changes and additions:
4040
4141
* The 'inputs' and 'outputs' fields have been renamed 'in' and 'out'.
42+
* Syntax simplifcations: denoted by the map<> syntax. Example: `in`
43+
contains a list of items, each with an id. Now one can specify
44+
a mapping of that identifier to the corresponding
45+
`InputParameter`.
46+
```
47+
in:
48+
- id: one
49+
type: string
50+
doc: First input parameter
51+
- id: two
52+
type: int
53+
doc: Second input parameter
54+
```
55+
can be
56+
```
57+
in:
58+
one:
59+
type: string
60+
doc: First input parameter
61+
two:
62+
type: int
63+
doc: Second input parameter
64+
```
4265
4366
## Purpose
4467

0 commit comments

Comments
 (0)