mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-13 02:25:40 +02:00
fix swagger definition references to nonexistent CreateGroupOption
This commit is contained in:
parent
4647c138fe
commit
595754f2a6
@ -58,7 +58,7 @@ func NewGroup(ctx *context.APIContext) {
|
|||||||
// in: body
|
// in: body
|
||||||
// required: true
|
// required: true
|
||||||
// schema:
|
// schema:
|
||||||
// "$ref": "#/definitions/CreateGroupOption"
|
// "$ref": "#/definitions/NewGroupOption"
|
||||||
// responses:
|
// responses:
|
||||||
// "201":
|
// "201":
|
||||||
// "$ref": "#/responses/Group"
|
// "$ref": "#/responses/Group"
|
||||||
@ -94,7 +94,7 @@ func NewSubGroup(ctx *context.APIContext) {
|
|||||||
// in: body
|
// in: body
|
||||||
// required: true
|
// required: true
|
||||||
// schema:
|
// schema:
|
||||||
// "$ref": "#/definitions/CreateGroupOption"
|
// "$ref": "#/definitions/NewGroupOption"
|
||||||
// responses:
|
// responses:
|
||||||
// "201":
|
// "201":
|
||||||
// "$ref": "#/responses/Group"
|
// "$ref": "#/responses/Group"
|
||||||
|
|||||||
4
templates/swagger/v1_json.tmpl
generated
4
templates/swagger/v1_json.tmpl
generated
@ -1492,7 +1492,7 @@
|
|||||||
"in": "body",
|
"in": "body",
|
||||||
"required": true,
|
"required": true,
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/CreateGroupOption"
|
"$ref": "#/definitions/NewGroupOption"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -3077,7 +3077,7 @@
|
|||||||
"in": "body",
|
"in": "body",
|
||||||
"required": true,
|
"required": true,
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/CreateGroupOption"
|
"$ref": "#/definitions/NewGroupOption"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user