From 159f89ad38cfa41083283c74e130c8a047ef87c8 Mon Sep 17 00:00:00 2001 From: wanghao Date: Mon, 31 Jul 2017 17:17:08 +0800 Subject: [PATCH] Fix api doc in creating pre-signed url Now the three arguments 'paths', 'methods', 'expires' in body are all optional, but it's required in api-ref doc. So fix it soon. Change-Id: I61dad6daa2d030a8ae14acaf1f9bed43cf0be060 --- api-ref/source/parameters.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 6146013e8..ead15447c 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -369,14 +369,14 @@ pools: pre_signed_queue_expires: type: string in: body - required: True + required: False description: | The time to indicate when the pre-signed will be expired. pre_signed_queue_methods: type: list in: body - required: True + required: False description: | A list of HTTP methods. The HTTP method(s) this URL was created for. By selecting the HTTP method, it’s possible to give either read or read/write @@ -385,7 +385,7 @@ pre_signed_queue_methods: pre_signed_queue_paths: type: list in: body - required: True + required: False description: | A list of paths the pre-signed queue can support. It could be a set of ``messages``, ``subscriptions``, ``claims``.