From f0300db7482818cf92aa95ced9715c12d4f8a22b Mon Sep 17 00:00:00 2001 From: Marek Kulik Date: Thu, 10 Oct 2024 20:01:58 +0200 Subject: [PATCH] Accept "true" constant in "disabled" property --- schemas/function.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/schemas/function.yaml b/schemas/function.yaml index 2deaf81..093089f 100644 --- a/schemas/function.yaml +++ b/schemas/function.yaml @@ -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: