mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
fix CreateIssueCommentOption reference (#4239)
* fixes a warning remaining from #4010 and #4220
This commit is contained in:
parent
a75f251195
commit
a7aaacb633
2 changed files with 2 additions and 2 deletions
2
public/swagger.v1.json
vendored
2
public/swagger.v1.json
vendored
|
@ -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…
Reference in a new issue