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", "name": "body",
"in": "body", "in": "body",
"schema": { "schema": {
"$ref": "#/definitions/CreateIssueOption" "$ref": "#/definitions/CreateIssueCommentOption"
} }
} }
], ],

@ -147,7 +147,7 @@ func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOpti
// - name: body // - name: body
// in: body // in: body
// schema: // schema:
// "$ref": "#/definitions/CreateIssueOption" // "$ref": "#/definitions/CreateIssueCommentOption"
// responses: // responses:
// "201": // "201":
// "$ref": "#/responses/Comment" // "$ref": "#/responses/Comment"

Loading…
Cancel
Save