Merge "Fix BS response schemas"
This commit is contained in:
@@ -57,7 +57,7 @@ ATTACHMENT_DETAIL_SCHEMA: dict[str, Any] = {
|
||||
"attach_mode": {
|
||||
"type": "string",
|
||||
"description": "The attach mode of attachment, read-only (‘ro’) or read-and-write (‘rw’), default is ‘rw’.",
|
||||
"enum": ["ro", "rw"],
|
||||
"enum": ["null", "ro", "rw"],
|
||||
"x-openstack": {"min-ver": "3.54"},
|
||||
},
|
||||
"attached_at": {
|
||||
|
||||
@@ -145,7 +145,7 @@ VOLUME_SCHEMA: dict[str, Any] = {
|
||||
"description": "The date and time when the resource was updated.",
|
||||
},
|
||||
"replication_status": {
|
||||
"type": "string",
|
||||
"type": ["string", "null"],
|
||||
"description": "The volume replication status.",
|
||||
},
|
||||
"id": {
|
||||
@@ -203,7 +203,6 @@ VOLUME_SCHEMA: dict[str, Any] = {
|
||||
"bootable",
|
||||
"encrypted",
|
||||
"id",
|
||||
"migration_status",
|
||||
"name",
|
||||
"replication_status",
|
||||
"size",
|
||||
|
||||
Reference in New Issue
Block a user