0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 00:11:11 +01:00

fix CreateIssueCommentOption reference (#4239)

* fixes a warning remaining from #4010 and #4220
This commit is contained in:
stevegt 2018-06-15 00:47:13 -07:00 committed by Lunny Xiao
parent a75f251195
commit a7aaacb633
2 changed files with 2 additions and 2 deletions

View file

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

View file

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