|
@@ -49,9 +49,9 @@ class ParseJsonSchema(ParseDbSchema):
|
|
for schema_path in schema_paths:
|
|
for schema_path in schema_paths:
|
|
try:
|
|
try:
|
|
with open(schema_path, "r") as f:
|
|
with open(schema_path, "r") as f:
|
|
- self.schemas.append(json.load(f))
|
|
|
|
|
|
+ schema = json.load(f)
|
|
# Load schmea dereferenced and cleaned by default values
|
|
# Load schmea dereferenced and cleaned by default values
|
|
- #self.schemas.append(self.read_schema_and_parse_for_mongodb(schema_path))
|
|
|
|
|
|
+ self.schemas.append(self._dereference_schema(schema))
|
|
|
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
err = ("Could not load json schema, "
|
|
err = ("Could not load json schema, "
|