Fix group_type_id in api-ref
group_type_id in GET/DELETE/PUT /group_types/group_type_id
is mentioned as optional path variable which is not true.
- 7c66eb3d97/cinder/api/v3/group_types.py (L101)
This id is mandatory and doc should be updated.
This create confusion while test case or using this API,
example - https://review.openstack.org/#/c/521634/4/tempest/lib/services/volume/v3/group_types_client.py
Closes-Bugs: # 1733504
Change-Id: I220cd20fefbe83ba8c392ab6b1679620d6a1d934
This commit is contained in:
parent
7c66eb3d97
commit
176f9b17b9
@ -25,7 +25,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
- group_type_id: group_type_id
|
||||
- group_type_id: group_type_id_1
|
||||
- group_type: group_type
|
||||
- name: name_16
|
||||
- description: description_12
|
||||
@ -74,7 +74,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id_path
|
||||
- group_type_id: group_type_id
|
||||
- group_type_id: group_type_id_1
|
||||
|
||||
|
||||
Response Parameters
|
||||
@ -114,7 +114,7 @@ Request
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- group_type_id: group_type_id
|
||||
- group_type_id: group_type_id_1
|
||||
- project_id: project_id_path
|
||||
|
||||
|
||||
|
@ -67,12 +67,6 @@ group_snapshot_id:
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
group_type_id:
|
||||
description: |
|
||||
The UUID for an existing group type.
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
group_type_id_1:
|
||||
description: |
|
||||
The UUID for an existing group type.
|
||||
|
Loading…
x
Reference in New Issue
Block a user