Fix region schema comment
The comment was inaccurate because it wasn't clear that the ID could be specified on both POST and PUT. Change-Id: Ie5e1968f6e85f98e77c5db12e7b3e6b4e8d2938a
This commit is contained in:
parent
8ef267c3ee
commit
55950e9d3e
@ -15,11 +15,8 @@ from keystone.common.validation import parameter_types
|
||||
|
||||
_region_properties = {
|
||||
'description': parameter_types.description,
|
||||
# NOTE(lbragstad): If a user wants to create a region with a specific
|
||||
# value as the 'id', it is done in the request URL, e.g.
|
||||
# PUT /regions/us-east. This is not required and if an 'id' is not
|
||||
# specified in the request, Keystone will assign a uuid as the 'id'
|
||||
# for the region.
|
||||
# NOTE(lbragstad): Regions use ID differently. The user can specify the ID
|
||||
# or it will be generated automatically.
|
||||
'id': {
|
||||
'type': 'string'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user