浏览代码

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

add 400 status code for build api
Sebastiaan van Stijn 8 年之前
父节点
当前提交
011a4087bd
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      api/swagger.yaml

+ 4 - 0
api/swagger.yaml

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