fix CreateIssueCommentOption reference (#4239)

* fixes a warning remaining from #4010 and #4220
tokarchuk/v1.17
stevegt 7 years ago committed by Lunny Xiao
parent a75f251195
commit a7aaacb633
  1. 2
      public/swagger.v1.json
  2. 2
      routers/api/v1/repo/issue_comment.go

@ -2208,7 +2208,7 @@
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/CreateIssueOption"
"$ref": "#/definitions/CreateIssueCommentOption"
}
}
],

@ -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"

Loading…
Cancel
Save