diff --git a/codegenerator/openapi/nova_schemas.py b/codegenerator/openapi/nova_schemas.py index a339fb6..c4472e5 100644 --- a/codegenerator/openapi/nova_schemas.py +++ b/codegenerator/openapi/nova_schemas.py @@ -204,8 +204,8 @@ AZ_DETAIL_SCHEMA: dict[str, Any] = copy.deepcopy(AZ_SCHEMA) AZ_DETAIL_SCHEMA["properties"]["hosts"] = { "type": "object", "description": "An object containing a list of host information. The host information is comprised of host and service objects. The service object returns three parameters representing the states of the service: active, available, and updated_at.", - "examples": { - "JSON request": { + "examples": [ + { "conductor": { "nova-conductor": { "active": True, @@ -221,7 +221,7 @@ AZ_DETAIL_SCHEMA["properties"]["hosts"] = { } }, } - }, + ], } AZ_LIST_SCHEMA: dict[str, Any] = {