fix: Fix schemas of ServersResponseBase
1. Not alias field. Just description field. 2. fix the python-glanceclient version Change-Id: I95bdda3e69ad3f55dd1213ea6ef01df6245025db
This commit is contained in:
parent
6ca007c1d0
commit
4d6f784384
@ -2928,14 +2928,15 @@
|
|||||||
"ServersResponseBase": {
|
"ServersResponseBase": {
|
||||||
"title": "ServersResponseBase",
|
"title": "ServersResponseBase",
|
||||||
"required": [
|
"required": [
|
||||||
"Server ID",
|
"id",
|
||||||
"origin_data"
|
"origin_data"
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"Server ID": {
|
"id": {
|
||||||
"title": "Server Id",
|
"title": "Id",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"description": "Server ID",
|
||||||
"format": "uuid4"
|
"format": "uuid4"
|
||||||
},
|
},
|
||||||
"origin_data": {
|
"origin_data": {
|
||||||
|
@ -25,7 +25,7 @@ h11<0.13,>=0.11 # MIT
|
|||||||
MarkupSafe>=2.0.1,<=2.1.1 # BSD License (3 clause)
|
MarkupSafe>=2.0.1,<=2.1.1 # BSD License (3 clause)
|
||||||
python-keystoneclient>=3.21.0,<=4.5.0 # Apache-2.0
|
python-keystoneclient>=3.21.0,<=4.5.0 # Apache-2.0
|
||||||
python-cinderclient>=5.0.2,<=8.3.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-neutronclient>=6.14.1,<=7.8.0 # Apache-2.0
|
||||||
python-novaclient>=15.1.1,<=18.0.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
|
keystoneauth1>=3.17.4,<=4.6.0 # Apache-2.0
|
||||||
|
@ -201,7 +201,7 @@ class FlavorInServer(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class ServersResponseBase(BaseModel):
|
class ServersResponseBase(BaseModel):
|
||||||
id: UUID4 = Field(..., alias="Server ID")
|
id: UUID4 = Field(..., description="Server ID")
|
||||||
origin_data: Dict[str, Any] = Field(
|
origin_data: Dict[str, Any] = Field(
|
||||||
description=f"The origin_data is the same like the response of {SERVERS_LIST_DOCS_LINKS}",
|
description=f"The origin_data is the same like the response of {SERVERS_LIST_DOCS_LINKS}",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user