2017-11-13 12:32:25 +05:30
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 12:32:25 +05:30
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 15:51:34 +05:30
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 12:32:25 +05:30
|
|
|
)
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Organization
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Organization
|
|
|
|
type swaggerResponseOrganization struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Organization `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// OrganizationList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response OrganizationList
|
|
|
|
type swaggerResponseOrganizationList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Organization `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Team
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Team
|
|
|
|
type swaggerResponseTeam struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Team `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// TeamList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response TeamList
|
|
|
|
type swaggerResponseTeamList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Team `json:"body"`
|
|
|
|
}
|
2021-10-12 16:17:19 +05:30
|
|
|
|
|
|
|
// OrganizationPermissions
|
|
|
|
// swagger:response OrganizationPermissions
|
|
|
|
type swaggerResponseOrganizationPermissions struct {
|
|
|
|
// in:body
|
|
|
|
Body api.OrganizationPermissions `json:"body"`
|
|
|
|
}
|