add status code 400 for update endpoints in swagger.yml
@@ -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:
