Merge "Fix BS response schemas"

This commit is contained in:
Zuul
2025-04-18 10:40:54 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 3 deletions

View File

@@ -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": {

View File

@@ -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",