summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/swagger.v1.json2
-rw-r--r--routers/api/v1/repo/issue_comment.go2
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"