0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 15:52:05 +01:00

fix CreateIssueCommentOption reference (#4239)

* fixes a warning remaining from #4010 and #4220
This commit is contained in:
stevegt 2018-06-15 00:47:13 -07:00 committed by Lunny Xiao
parent a75f251195
commit a7aaacb633
2 changed files with 2 additions and 2 deletions

View File

@ -2208,7 +2208,7 @@
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/CreateIssueOption"
"$ref": "#/definitions/CreateIssueCommentOption"
}
}
],

View File

@ -147,7 +147,7 @@ func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOpti
// - name: body
// in: body
// schema:
// "$ref": "#/definitions/CreateIssueOption"
// "$ref": "#/definitions/CreateIssueCommentOption"
// responses:
// "201":
// "$ref": "#/responses/Comment"