forked from gitea/gitea
swagger specify return value
This commit is contained in:
parent
e607e9fcdb
commit
334472d426
|
@ -156,8 +156,8 @@ func GetIssueSubscribers(ctx *context.APIContext, form api.User) {
|
||||||
// format: int64
|
// format: int64
|
||||||
// required: true
|
// required: true
|
||||||
// responses:
|
// responses:
|
||||||
// "201":
|
// "200":
|
||||||
// "$ref": "#/responses/empty"
|
// "$ref": "#/responses/UserList"
|
||||||
// "404":
|
// "404":
|
||||||
// description: Issue not found
|
// description: Issue not found
|
||||||
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
|
||||||
|
|
|
@ -3819,8 +3819,8 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"201": {
|
"200": {
|
||||||
"$ref": "#/responses/empty"
|
"$ref": "#/responses/UserList"
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "Issue not found"
|
"description": "Issue not found"
|
||||||
|
|
Loading…
Reference in New Issue