Skip to content

Commit f0300db

Browse files
committed
Accept "true" constant in "disabled" property
1 parent 003d850 commit f0300db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

schemas/function.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ $defs:
3131
description: Associates this function with another getter or setter function.
3232
oop:
3333
$ref: '#/$defs/oop'
34-
is_disabled:
35-
type: string
36-
description: Describe why the function was disabled, and if there is an alternative approach.
34+
disabled:
35+
description: |
36+
Describe why the function was disabled, and if there is an alternative approach;
37+
or just set the property to "true".
38+
anyOf:
39+
- type: string
40+
- const: true
3741
meta:
3842
$ref: '#/$defs/meta'
3943
description:

0 commit comments

Comments
 (0)