Browse Source

Merge pull request #30533 from allencloud/add-40x-for-build-api

add 400 status code for build api
Sebastiaan van Stijn 8 years ago
parent
commit
011a4087bd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      api/swagger.yaml

+ 4 - 0
api/swagger.yaml

@@ -4459,6 +4459,10 @@ paths:
       responses:
         200:
           description: "no error"
+        400:
+          description: "Bad parameter"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         500:
           description: "server error"
           schema: