From a7aaacb633a1f391eab6e8f2aa4f57b83d41c66c Mon Sep 17 00:00:00 2001
From: stevegt <stevegt@t7a.org>
Date: Fri, 15 Jun 2018 00:47:13 -0700
Subject: [PATCH] fix CreateIssueCommentOption reference (#4239)

* fixes a warning remaining from #4010 and #4220
---
 public/swagger.v1.json               | 2 +-
 routers/api/v1/repo/issue_comment.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/swagger.v1.json b/public/swagger.v1.json
index e0f2a7589a..9fd790281a 100644
--- a/public/swagger.v1.json
+++ b/public/swagger.v1.json
@@ -2208,7 +2208,7 @@
             "name": "body",
             "in": "body",
             "schema": {
-              "$ref": "#/definitions/CreateIssueOption"
+              "$ref": "#/definitions/CreateIssueCommentOption"
             }
           }
         ],
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index 0cbf6493d3..af952a070b 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routers/api/v1/repo/issue_comment.go
@@ -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"