Browse Source

fix CreateIssueCommentOption reference (#4239)

* fixes a warning remaining from #4010 and #4220
for-closed-social
stevegt 6 years ago
committed by Lunny Xiao
parent
commit
a7aaacb633
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      public/swagger.v1.json
  2. +1
    -1
      routers/api/v1/repo/issue_comment.go

+ 1
- 1
public/swagger.v1.json View File

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

+ 1
- 1
routers/api/v1/repo/issue_comment.go View File

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