Skip to content

Commit 4b6bb0a

Browse files
fix swagger definition references to nonexistent CreateGroupOption
1 parent 9b58f7c commit 4b6bb0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

routers/api/v1/group/group.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func NewGroup(ctx *context.APIContext) {
5858
// in: body
5959
// required: true
6060
// schema:
61-
// "$ref": "#/definitions/CreateGroupOption"
61+
// "$ref": "#/definitions/NewGroupOption"
6262
// responses:
6363
// "201":
6464
// "$ref": "#/responses/Group"
@@ -94,7 +94,7 @@ func NewSubGroup(ctx *context.APIContext) {
9494
// in: body
9595
// required: true
9696
// schema:
97-
// "$ref": "#/definitions/CreateGroupOption"
97+
// "$ref": "#/definitions/NewGroupOption"
9898
// responses:
9999
// "201":
100100
// "$ref": "#/responses/Group"

templates/swagger/v1_json.tmpl

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)