api-ref: add missing fields in volume group types

There are some fields missing in volume group types api ref,
https://developer.openstack.org/api-ref/block-storage/v3/#list-group-types

is_public and description are missing from the response and
sample of "List group types".

Change-Id: I47c3c8279d2026f04646ceba4bd31f23519fffad
This commit is contained in:
zhufl 2018-09-29 11:24:08 +08:00
parent 7f27679466
commit 0f3375689f
2 changed files with 8 additions and 2 deletions

View File

@ -227,6 +227,8 @@ Response Parameters
- id: group_type_id_2
- group_specs: group_specs
- name: name_16
- is_public: is_public_group_type_required
- description: description_group_type_required
Response Example
----------------

View File

@ -1,16 +1,20 @@
{
"group_types": [
{
"is_public": true,
"group_specs": {
"consistent_group_snapshot_enabled": "<is> False"
},
"id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
"name": "group_type1"
"name": "group_type1",
"description": "tempest-group-type-description-1261576824"
},
{
"is_public": true,
"group_specs": {},
"id": "8eb69a46-df97-4e41-9586-9a40a7533803",
"name": "group_type2"
"name": "group_type2",
"description": "tempest-group-type-description-3927295731"
}
]
}