2017-11-13 02:02:25 -05:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 13:20:29 -05:00
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 02:02:25 -05:00
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 06:21:34 -04:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 02:02:25 -05:00
|
|
|
)
|
|
|
|
|
2018-05-31 07:13:55 -04:00
|
|
|
// Organization
|
2017-11-13 02:02:25 -05:00
|
|
|
// swagger:response Organization
|
|
|
|
type swaggerResponseOrganization struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Organization `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 07:13:55 -04:00
|
|
|
// OrganizationList
|
2017-11-13 02:02:25 -05:00
|
|
|
// swagger:response OrganizationList
|
|
|
|
type swaggerResponseOrganizationList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Organization `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 07:13:55 -04:00
|
|
|
// Team
|
2017-11-13 02:02:25 -05:00
|
|
|
// swagger:response Team
|
|
|
|
type swaggerResponseTeam struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Team `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 07:13:55 -04:00
|
|
|
// TeamList
|
2017-11-13 02:02:25 -05:00
|
|
|
// swagger:response TeamList
|
|
|
|
type swaggerResponseTeamList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Team `json:"body"`
|
|
|
|
}
|
2021-10-12 06:47:19 -04:00
|
|
|
|
|
|
|
// OrganizationPermissions
|
|
|
|
// swagger:response OrganizationPermissions
|
|
|
|
type swaggerResponseOrganizationPermissions struct {
|
|
|
|
// in:body
|
|
|
|
Body api.OrganizationPermissions `json:"body"`
|
|
|
|
}
|