mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-24 06:56:41 +00:00
Allow for additional properties when checking appliances
This commit is contained in:
parent
8a8ceb1dd0
commit
d183a8790a
2
check.py
2
check.py
@ -78,7 +78,7 @@ def check_appliance(appliance):
|
|||||||
schema_filename = "schemas/appliance_v{}.json".format(version)
|
schema_filename = "schemas/appliance_v{}.json".format(version)
|
||||||
with open(schema_filename) as f:
|
with open(schema_filename) as f:
|
||||||
schemas[version] = json.load(f)
|
schemas[version] = json.load(f)
|
||||||
no_additional_properties(schemas[version])
|
#no_additional_properties(schemas[version])
|
||||||
|
|
||||||
with open(os.path.join('appliances', appliance)) as f:
|
with open(os.path.join('appliances', appliance)) as f:
|
||||||
appliance_json = json.load(f)
|
appliance_json = json.load(f)
|
||||||
|
@ -430,7 +430,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
"required": [
|
||||||
"name",
|
"name",
|
||||||
"category",
|
"category",
|
||||||
|
Loading…
Reference in New Issue
Block a user