fix CreateIssueCommentOption reference

* fixes a warning remaining from #4010 and #4220
This commit is contained in:
Steve Traugott 2018-06-12 21:25:20 -07:00
parent 6efdcaed86
commit 2e05ffd6b6
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"