diff --git a/docs/api/swagger.json b/docs/api/swagger.json index 626f47a..3b4bf90 100644 --- a/docs/api/swagger.json +++ b/docs/api/swagger.json @@ -2928,14 +2928,15 @@ "ServersResponseBase": { "title": "ServersResponseBase", "required": [ - "Server ID", + "id", "origin_data" ], "type": "object", "properties": { - "Server ID": { - "title": "Server Id", + "id": { + "title": "Id", "type": "string", + "description": "Server ID", "format": "uuid4" }, "origin_data": { diff --git a/requirements.txt b/requirements.txt index a2a52fc..d8e3d51 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ h11<0.13,>=0.11 # MIT MarkupSafe>=2.0.1,<=2.1.1 # BSD License (3 clause) python-keystoneclient>=3.21.0,<=4.5.0 # Apache-2.0 python-cinderclient>=5.0.2,<=8.3.0 # Apache-2.0 -python-glanceclient>=2.17.1,<=4.0.0 # Apache-2.0 +python-glanceclient>=2.17.1 # Apache-2.0 python-neutronclient>=6.14.1,<=7.8.0 # Apache-2.0 python-novaclient>=15.1.1,<=18.0.0 # Apache-2.0 keystoneauth1>=3.17.4,<=4.6.0 # Apache-2.0 diff --git a/skyline_apiserver/schemas/extension.py b/skyline_apiserver/schemas/extension.py index e47c4e9..f93d4ca 100644 --- a/skyline_apiserver/schemas/extension.py +++ b/skyline_apiserver/schemas/extension.py @@ -201,7 +201,7 @@ class FlavorInServer(BaseModel): class ServersResponseBase(BaseModel): - id: UUID4 = Field(..., alias="Server ID") + id: UUID4 = Field(..., description="Server ID") origin_data: Dict[str, Any] = Field( description=f"The origin_data is the same like the response of {SERVERS_LIST_DOCS_LINKS}", )