Extend json-schema model parser
3 unresolved threads
3 unresolved threads
Compare changes
Files
11+ 194
− 53
@@ -35,8 +35,9 @@ not defined, simply the name can be supplied with no value.
@@ -76,7 +77,8 @@ JSON_SCHEMA_ATOMIC_TYPES = [
@@ -152,13 +154,29 @@ def parse_model_from_string(string):
@@ -174,10 +192,10 @@ def parse_model_from_json_schema(filename: str):
@@ -600,14 +618,13 @@ class Parser(object):
@@ -615,15 +632,18 @@ class JsonSchemaParser(Parser):
@@ -631,6 +651,9 @@ class JsonSchemaParser(Parser):
@@ -639,13 +662,13 @@ class JsonSchemaParser(Parser):
@@ -654,36 +677,68 @@ class JsonSchemaParser(Parser):
@@ -695,11 +750,15 @@ class JsonSchemaParser(Parser):
@@ -710,12 +769,17 @@ class JsonSchemaParser(Parser):
@@ -733,11 +797,12 @@ class JsonSchemaParser(Parser):
@@ -745,10 +810,7 @@ class JsonSchemaParser(Parser):
@@ -762,6 +824,17 @@ class JsonSchemaParser(Parser):
@@ -783,28 +856,96 @@ class JsonSchemaParser(Parser):
- Resolved by Florian Spreckelsen