From f223bd3b54d04c21289d806c7f51b115757703e7 Mon Sep 17 00:00:00 2001 From: Christian Westberg Date: Thu, 22 Dec 2022 09:39:48 +0100 Subject: Improve enum support for json generator Client: [json] --- lib/json/schema.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/json/schema.json b/lib/json/schema.json index 90bb7a59d..f7b10dff4 100644 --- a/lib/json/schema.json +++ b/lib/json/schema.json @@ -23,7 +23,8 @@ "union", "struct", "binary", - "uuid" + "uuid", + "enum" ] }, "base-type": { @@ -67,7 +68,7 @@ "type": "object", "properties": { "typeId": { - "enum": [ "union", "struct", "exception" ] + "enum": [ "union", "struct", "exception", "enum" ] } }, "required": [ "typeId", "class" ] -- cgit v1.2.1