Fix api-ref for reset group snapshot
reset-group-snalshot api-ref not correct for 'status' attribute. That is mentioned as optional for request. 'status' in API request is mandatory attribute. Also 'project_id' is mentioned as body element instead of path. Those are confusing while implementing tests for this API - https://review.openstack.org/#/c/495735/ https://developer.openstack.org/api-ref/block-storage/v3/#reset-group-snapshot-status Closes-Bug: #1719930 Change-Id: Id2016f86d0eae60d96df7a12eda1bbec9d1129a8
This commit is contained in:
parent
88011280e8
commit
ea3603c245
@ -225,7 +225,7 @@ Request
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- project_id: project_id
|
||||
- project_id: project_id_path
|
||||
- group_snapshot_id: group_snapshot_id
|
||||
- reset_status: reset_status
|
||||
- status: status_7
|
||||
|
@ -2478,7 +2478,7 @@ status_7:
|
||||
description: |
|
||||
The ``status`` of the generic group snapshot.
|
||||
in: body
|
||||
required: false
|
||||
required: true
|
||||
type: string
|
||||
status_8:
|
||||
description: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user