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