forked from gitea/gitea
1
0
Fork 0

swagger specify return value

This commit is contained in:
6543 2019-11-05 23:26:17 +01:00
parent e607e9fcdb
commit 334472d426
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271
2 changed files with 4 additions and 4 deletions

View File

@ -156,8 +156,8 @@ func GetIssueSubscribers(ctx *context.APIContext, form api.User) {
// format: int64
// required: true
// responses:
// "201":
// "$ref": "#/responses/empty"
// "200":
// "$ref": "#/responses/UserList"
// "404":
// description: Issue not found
issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))

View File

@ -3819,8 +3819,8 @@
}
],
"responses": {
"201": {
"$ref": "#/responses/empty"
"200": {
"$ref": "#/responses/UserList"
},
"404": {
"description": "Issue not found"