Quick fix for v1.1 api schema

For letting UTs of python-zaqarclient pass, we should let the V1.1
API can receive the additonal properties.

Change-Id: I5ee4ea77b40130150d8f1589d4cff9afd76068bb
This commit is contained in:
wanghao 2019-08-29 11:11:09 +08:00
parent c32ba8f4f9
commit b6045e9022
1 changed files with 1 additions and 12 deletions

View File

@ -27,17 +27,6 @@ patch_capabilities = {
}
}
# NOTE(gengchc): Add pool_list in flavor creation for removing pool_group
patch_pool_list = {
'type': 'object',
'properties': {
'pool_list': {
'type': 'array'
},
'additionalProperties': False
}
}
create = {
'type': 'object',
'properties': {
@ -47,5 +36,5 @@ create = {
# must provide reasonable defaults.
# NOTE(wanghao): remove the whole folder when we remove the 1.1 API
# totally.
'additionalProperties': False
'additionalProperties': True
}