1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 11:48:37 +00:00

swagger specify return value

This commit is contained in:
6543
2019-11-05 23:26:17 +01:00
parent e607e9fcdb
commit 334472d426
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"