From 9a36e7cda45f8b35f6d5325c3b9c77b80d7e1847 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Fri, 28 Jul 2017 01:48:56 +0800 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index c1c04933d5b7..2bbf016e7b34 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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.