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"