Skip to content

Commit 2e05ffd

Browse files
committed
fix CreateIssueCommentOption reference
* fixes a warning remaining from #4010 and #4220
1 parent 6efdcae commit 2e05ffd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/swagger.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@
22082208
"name": "body",
22092209
"in": "body",
22102210
"schema": {
2211-
"$ref": "#/definitions/CreateIssueOption"
2211+
"$ref": "#/definitions/CreateIssueCommentOption"
22122212
}
22132213
}
22142214
],

routers/api/v1/repo/issue_comment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOpti
147147
// - name: body
148148
// in: body
149149
// schema:
150-
// "$ref": "#/definitions/CreateIssueOption"
150+
// "$ref": "#/definitions/CreateIssueCommentOption"
151151
// responses:
152152
// "201":
153153
// "$ref": "#/responses/Comment"

0 commit comments

Comments
 (0)