diff options
author | stevegt <stevegt@t7a.org> | 2018-06-15 00:47:13 -0700 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-06-15 15:47:13 +0800 |
commit | a7aaacb633a1f391eab6e8f2aa4f57b83d41c66c (patch) | |
tree | 40e89e5f20396e4b87827a2b5341ad81d95c7d9a | |
parent | a75f2511951120c9ba1f954cfe48e4ce73687c72 (diff) | |
download | gitea-a7aaacb633a1f391eab6e8f2aa4f57b83d41c66c.tar.gz gitea-a7aaacb633a1f391eab6e8f2aa4f57b83d41c66c.zip |
fix CreateIssueCommentOption reference (#4239)
* fixes a warning remaining from #4010 and #4220
-rw-r--r-- | public/swagger.v1.json | 2 | ||||
-rw-r--r-- | 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" |