mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-26 02:58:42 +02:00
fix swagger definition references to nonexistent CreateGroupOption
This commit is contained in:
@@ -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"
|
||||
|
||||
Generated
+2
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user