From d6ca144720e02dd395be3f14c3a480b68e69dc08 Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Fri, 3 Nov 2023 15:31:26 +0000 Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s) --- src/caosadvancedtools/json_schema_exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/caosadvancedtools/json_schema_exporter.py b/src/caosadvancedtools/json_schema_exporter.py index 812127af..172cc1c0 100644 --- a/src/caosadvancedtools/json_schema_exporter.py +++ b/src/caosadvancedtools/json_schema_exporter.py @@ -49,7 +49,7 @@ class JsonSchemaExporter: Whether additional properties will be admitted in the resulting schema. Optional, default is True. name_and_description_in_properties : bool, optional - Whether object which are generated from reference properties shall have a `name` and + Whether objects that are generated from reference properties shall have a `name` and `description` property in the generated schema. Optional, default is False. additional_options_for_text_props : dict, optional Dictionary containing additional "pattern" or "format" options for @@ -292,7 +292,7 @@ def recordtype_to_json_schema(rt: db.RecordType, additional_properties: bool = T Whether additional properties will be admitted in the resulting schema. Optional, default is True. name_and_description_in_properties : bool, optional - Whether object which are generated from reference properties shall have a `name` and + Whether objects that are generated from reference properties shall have a `name` and `description` property in the generated schema. Optional, default is False. additional_options_for_text_props : dict, optional Dictionary containing additional "pattern" or "format" options for -- GitLab