Merge "OpenAPI: Fix nova examples"

This commit is contained in:
Zuul
2025年06月25日 20:36:35 +00:00
committed by Gerrit Code Review

View File

@@ -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] = {
Reference in New Issue
openstack/codegenerator
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.