Merge "Alter image json schema to allow for null name and size values"
This commit is contained in:
commit
57c1c6e276
|
@ -26,7 +26,7 @@ common_image_schema = {
|
||||||
'status': {'type': 'string'},
|
'status': {'type': 'string'},
|
||||||
'updated': {'type': 'string'},
|
'updated': {'type': 'string'},
|
||||||
'links': image_links,
|
'links': image_links,
|
||||||
'name': {'type': 'string'},
|
'name': {'type': ['string', 'null']},
|
||||||
'created': {'type': 'string'},
|
'created': {'type': 'string'},
|
||||||
'minDisk': {'type': 'integer'},
|
'minDisk': {'type': 'integer'},
|
||||||
'minRam': {'type': 'integer'},
|
'minRam': {'type': 'integer'},
|
||||||
|
@ -41,7 +41,7 @@ common_image_schema = {
|
||||||
'additionalProperties': False,
|
'additionalProperties': False,
|
||||||
'required': ['id', 'links']
|
'required': ['id', 'links']
|
||||||
},
|
},
|
||||||
'OS-EXT-IMG-SIZE:size': {'type': 'integer'},
|
'OS-EXT-IMG-SIZE:size': {'type': ['integer', 'null']},
|
||||||
'OS-DCF:diskConfig': {'type': 'string'}
|
'OS-DCF:diskConfig': {'type': 'string'}
|
||||||
},
|
},
|
||||||
'additionalProperties': False,
|
'additionalProperties': False,
|
||||||
|
|
Loading…
Reference in New Issue