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