From 04d5756d108df810a5df409153634bc2356b4680 Mon Sep 17 00:00:00 2001 From: Vitalii Yarmus Date: Fri, 10 Feb 2023 17:52:08 +0200 Subject: [PATCH] Configs: fixed configs to have hidden subtype and added nullable to boolean --- .../field_level/fieldLevelConfig.json | 66 ++++++++++++++++++- types/boolean.json | 1 - types/integer.json | 1 - types/number.json | 1 - 4 files changed, 64 insertions(+), 5 deletions(-) diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index ceb1a6c..02ba158 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -251,6 +251,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "string": [ @@ -1199,6 +1203,12 @@ making sure that you maintain a proper JSON format. "propertyType": "text", "shouldValidate": true }, + { + "propertyName": "nullable", + "propertyKeyword": "nullable", + "propertyType": "checkbox", + "enableForReference": true + }, "comments" ], "array": [ @@ -1409,7 +1419,11 @@ making sure that you maintain a proper JSON format. "value": "schema" } }, - "comments" + "comments", + { + "propertyKeyword": "subtype", + "hidden": true + } ], "object": [ { @@ -1788,7 +1802,11 @@ making sure that you maintain a proper JSON format. "value": "schema" } }, - "comments" + "comments", + { + "propertyKeyword": "subtype", + "hidden": true + } ], "___1": [], "requestBody": [ @@ -1847,6 +1865,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "response": [ @@ -1920,6 +1942,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "media": [ @@ -2060,6 +2086,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "encoding": [ @@ -2127,6 +2157,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "example": [ @@ -2180,6 +2214,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "header": [ @@ -2258,6 +2296,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "securityScheme": [ @@ -2701,6 +2743,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "callback": [ @@ -3040,6 +3086,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "parameter (query)":[ @@ -3123,6 +3173,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "parameter (header)": [ @@ -3203,6 +3257,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "parameter (cookie)": [ @@ -3283,6 +3341,10 @@ making sure that you maintain a proper JSON format. "markdown": false } ] + }, + { + "propertyKeyword": "subtype", + "hidden": true } ], "choice": [{ diff --git a/types/boolean.json b/types/boolean.json index a6f5935..7ea2711 100644 --- a/types/boolean.json +++ b/types/boolean.json @@ -6,7 +6,6 @@ "sample": true, "useSample": true, "defaultValues": { - "index": true, "default": "", "enum": [], "relationshipType": "", diff --git a/types/integer.json b/types/integer.json index 0fe3520..72a917f 100644 --- a/types/integer.json +++ b/types/integer.json @@ -6,7 +6,6 @@ "sample": 15, "useSample": true, "defaultValues": { - "index": true, "unit": "", "minimum": "", "exclusiveMinimum": false, diff --git a/types/number.json b/types/number.json index a00403d..dc67281 100644 --- a/types/number.json +++ b/types/number.json @@ -6,7 +6,6 @@ "sample": 15, "useSample": true, "defaultValues": { - "index": true, "unit": "", "minimum": "", "exclusiveMinimum": false,