Skip to content

Commit

Permalink
Accept "true" constant in "disabled" property
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Oct 10, 2024
1 parent 003d850 commit f0300db
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions schemas/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ $defs:
description: Associates this function with another getter or setter function.
oop:
$ref: '#/$defs/oop'
is_disabled:
type: string
description: Describe why the function was disabled, and if there is an alternative approach.
disabled:
description: |
Describe why the function was disabled, and if there is an alternative approach;
or just set the property to "true".
anyOf:
- type: string
- const: true
meta:
$ref: '#/$defs/meta'
description:
Expand Down

0 comments on commit f0300db

Please sign in to comment.