Skip to content

Commit

Permalink
fix CreateIssueCommentOption reference (go-gitea#4239)
Browse files Browse the repository at this point in the history
* fixes a warning remaining from go-gitea#4010 and go-gitea#4220
  • Loading branch information
stevegt authored and lunny committed Jun 15, 2018
1 parent a75f251 commit a7aaacb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/swagger.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,7 @@
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/CreateIssueOption"
"$ref": "#/definitions/CreateIssueCommentOption"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/repo/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a7aaacb

Please sign in to comment.