Skip to content

Commit 283cf4a

Browse files
committed
Add 'optional' property for parameters in function specification
1 parent 3729923 commit 283cf4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

schemas/function.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ $defs:
163163
description: |
164164
The default value for this parameter, if none was given in the call to the function.
165165
This property automatically implicitly marks this parameter as optional.
166+
optional:
167+
type: boolean
168+
default: false
169+
description: If set to true, this parameter is optional.
166170

167171
returns:
168172
type: object

0 commit comments

Comments
 (0)