From 829c34434dc12e75ab5ff80cd0eab48839ee1baa Mon Sep 17 00:00:00 2001 From: mishasizov-SK <109598497+mishasizov-SK@users.noreply.github.com> Date: Wed, 10 May 2023 16:40:39 +0300 Subject: [PATCH] feat: Revert feat: support for optional field in presexch (#3582) Signed-off-by: Mykhailo Sizov --- pkg/doc/presexch/schema.go | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/pkg/doc/presexch/schema.go b/pkg/doc/presexch/schema.go index 9841ba31a..bb262f619 100644 --- a/pkg/doc/presexch/schema.go +++ b/pkg/doc/presexch/schema.go @@ -89,24 +89,7 @@ const DefinitionJSONSchemaV1 = ` "not":{ "type":"object", "minProperties":1 - }, - "contains":{ - "type":"object", - "properties":{ - "type":{ - "type":"string" - }, - "pattern":{ - "type":"string" - }, - "const":{ - "type":"string" - } - }, - "required":[ - "type" - ] - } + } }, "required":[ "type" @@ -407,9 +390,6 @@ const DefinitionJSONSchemaV1 = ` }, "filter":{ "$ref":"#/definitions/filter" - }, - "optional":{ - "type":"boolean" } }, "required":[