Added component definitions to add weight as a valid definition (#1061)
Added the required validation information Updated the readme
This commit is contained in:
@@ -54,6 +54,13 @@
|
||||
},
|
||||
"comments": {
|
||||
"type": "string"
|
||||
},
|
||||
"weight": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "components.json#/definitions/weight"
|
||||
},
|
||||
"maxItems": 1
|
||||
}
|
||||
},
|
||||
"required": ["manufacturer", "model"],
|
||||
|
||||
Reference in New Issue
Block a user