ENH: JsonSchemaExporter accepts do_not_create parameter.
Compare changes
Files
2- Daniel Hornung authored
@@ -25,7 +25,7 @@ The scope of this json schema is the automatic generation of user interfaces.
@@ -43,6 +43,7 @@ class JsonSchemaExporter:
@@ -75,6 +76,10 @@ class JsonSchemaExporter:
@@ -82,6 +87,8 @@ class JsonSchemaExporter:
@@ -91,6 +98,8 @@ class JsonSchemaExporter:
@@ -106,15 +115,15 @@ class JsonSchemaExporter:
@@ -131,7 +140,7 @@ class JsonSchemaExporter:
@@ -154,13 +163,21 @@ class JsonSchemaExporter:
@@ -181,7 +198,9 @@ class JsonSchemaExporter:
@@ -198,7 +217,7 @@ class JsonSchemaExporter:
@@ -245,16 +264,20 @@ class JsonSchemaExporter:
@@ -269,13 +292,15 @@ class JsonSchemaExporter:
@@ -283,6 +308,9 @@ class JsonSchemaExporter:
@@ -292,10 +320,13 @@ class JsonSchemaExporter:
@@ -310,6 +341,8 @@ def recordtype_to_json_schema(rt: db.RecordType, additional_properties: bool = T
@@ -338,16 +371,22 @@ def recordtype_to_json_schema(rt: db.RecordType, additional_properties: bool = T
@@ -365,8 +404,9 @@ def recordtype_to_json_schema(rt: db.RecordType, additional_properties: bool = T
@@ -397,7 +437,7 @@ out : dict