forked from gitea/gitea
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
e03934f035
commit
a276aaf61e
|
@ -41,8 +41,8 @@ func NewCommitStatus(ctx *context.APIContext, form api.CreateStatusOption) {
|
||||||
// schema:
|
// schema:
|
||||||
// "$ref": "#/definitions/CreateStatusOption"
|
// "$ref": "#/definitions/CreateStatusOption"
|
||||||
// responses:
|
// responses:
|
||||||
// "200":
|
// "201":
|
||||||
// "$ref": "#/responses/StatusList"
|
// "$ref": "#/responses/Status"
|
||||||
sha := ctx.Params("sha")
|
sha := ctx.Params("sha")
|
||||||
if len(sha) == 0 {
|
if len(sha) == 0 {
|
||||||
ctx.Error(400, "sha not given", nil)
|
ctx.Error(400, "sha not given", nil)
|
||||||
|
|
|
@ -5284,8 +5284,8 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"201": {
|
||||||
"$ref": "#/responses/StatusList"
|
"$ref": "#/responses/Status"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue