Browse Source

Merge pull request #32464 from allencloud/add-status-code-400-for-update-endpoint

add status code 400 for update endpoints in swagger.yml
Vincent Demeester 8 years ago
parent
commit
05930120a0
1 changed files with 8 additions and 0 deletions
  1. 8 0
      api/swagger.yaml

+ 8 - 0
api/swagger.yaml

@@ -7106,6 +7106,10 @@ paths:
       responses:
         200:
           description: "no error"
+        400:
+          description: "bad parameter"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         404:
           description: "no such node"
           schema:
@@ -8217,6 +8221,10 @@ paths:
       responses:
         200:
           description: "no error"
+        400:
+          description: "bad parameter"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         404:
           description: "no such secret"
           schema: