Fix api-ref for POST backup for optional name

name attribute in create backup request is optional but
api-ref does not say so.
- https://developer.openstack.org/api-ref/block-storage/v3/index.html?expanded=create-a-backup-detail#backups-backups

Change-Id: I9ac456382ac8d3a27256762e3a56bd784abda201
Closes-Bug: #1678005
This commit is contained in:
ghanshyam 2017-03-31 11:12:00 +03:00 committed by Sean McGinnis
parent c83a9bbb97
commit b817ad2225
2 changed files with 7 additions and 1 deletions

View File

@ -228,7 +228,7 @@ Request
- volume_id: volume_id
- force: force
- backup: backup
- name: name
- name: name_optional
- snapshot_id: snapshot_id_2
- project_id: project_id_path

View File

@ -1334,6 +1334,12 @@ name_9:
in: body
required: true
type: string
name_optional:
description: |
The name of the Volume Backup.
in: body
required: false
type: string
namespace:
description: |
Link associated to the extension.