fix volume.attachments schema
by accident list operation was not framed in the "object" container for block-storage volume attachments. Change-Id: I13960a65b4b23cadc10d9547bfdc38c6d6b8d826
This commit is contained in:
parent
4d69a3d081
commit
0cfbfc1882
@ -84,13 +84,23 @@ ATTACHMENT_CONTAINER_SCHEMA: dict[str, Any] = {
|
||||
}
|
||||
|
||||
ATTACHMENTS_SCHEMA: dict[str, Any] = {
|
||||
"type": "array",
|
||||
"items": copy.deepcopy(ATTACHMENT_SCHEMA),
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attachments": {
|
||||
"type": "array",
|
||||
"items": copy.deepcopy(ATTACHMENT_SCHEMA),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
ATTACHMENTS_DETAIL_SCHEMA: dict[str, Any] = {
|
||||
"type": "array",
|
||||
"items": copy.deepcopy(ATTACHMENT_DETAIL_SCHEMA),
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attachments": {
|
||||
"type": "array",
|
||||
"items": copy.deepcopy(ATTACHMENT_DETAIL_SCHEMA),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user