add description about key_name

add description about key_name, which tells user 'null' is not
accepted parameter.

this is ths solution that other than change the code.

Change-Id: Id84c7803fdd44961497cd35c15ece98e2852d4f6
Related-Bug: 1700825
This commit is contained in:
jichenjc 2017-07-28 01:48:56 +08:00
parent f44cc41d53
commit 9a36e7cda4
1 changed files with 5 additions and 0 deletions

View File

@ -3453,9 +3453,14 @@ ip_range_delete:
key_name:
description: |
Key pair name.
.. note::
The ``null`` value allowed in Nova legacy v2 API, but due to the strict
input validation, it isn't allowed in Nova v2.1 API.
in: body
required: false
type: string
key_name_resp:
description: |
The name of associated key pair, if any.