From c284e85f590bcd7027cbb8e7077896df7ff6900c Mon Sep 17 00:00:00 2001 From: allencloud Date: Mon, 10 Apr 2017 15:08:56 +0800 Subject: [PATCH] add status code 400 for update endpoints in swagger.yml Signed-off-by: allencloud --- api/swagger.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index 2154e0cff3..c0383b94d9 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -7095,6 +7095,10 @@ paths: responses: 200: description: "no error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "no such node" schema: @@ -8201,6 +8205,10 @@ paths: responses: 200: description: "no error" + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 404: description: "no such secret" schema: