From 7e693dd10729d696723e3742fdfbca845f821418 Mon Sep 17 00:00:00 2001 From: pooja jadhav Date: Wed, 29 Nov 2017 19:16:32 +0530 Subject: [PATCH] Discrepancy in api-ref and code for create group snapshot API 'group_id' is mentioned as an optional parameter in api-ref doc for POST /v3/{project_id}/group_snapshots API but in the code if we don't pass group-id it returns BadRequest. This patch fixes this discrepancy by updating the api-ref according to the code. Closes-Bug: #1735177 Change-Id: Id2165a07995ab706d4a327f7340dccee7799c7b6 --- api-ref/source/v3/parameters.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 0a548072060..e98278c2483 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -1135,7 +1135,7 @@ group_id_1: description: | The ID of the group. in: body - required: false + required: true type: string group_name: description: |