Files

44 lines
885 B
Go
Raw Permalink Normal View History

2017-11-12 23:02:25 -08:00
// Copyright 2017 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2017-11-12 23:02:25 -08:00
package swagger
import (
2019-05-11 18:21:34 +08:00
api "code.gitea.io/gitea/modules/structs"
2017-11-12 23:02:25 -08:00
)
// Organization
2017-11-12 23:02:25 -08:00
// swagger:response Organization
type swaggerResponseOrganization struct {
// in:body
Body api.Organization `json:"body"`
}
// OrganizationList
2017-11-12 23:02:25 -08:00
// swagger:response OrganizationList
type swaggerResponseOrganizationList struct {
// in:body
Body []api.Organization `json:"body"`
}
// Team
2017-11-12 23:02:25 -08:00
// swagger:response Team
type swaggerResponseTeam struct {
// in:body
Body api.Team `json:"body"`
}
// TeamList
2017-11-12 23:02:25 -08:00
// swagger:response TeamList
type swaggerResponseTeamList struct {
// in:body
Body []api.Team `json:"body"`
}
// OrganizationPermissions
// swagger:response OrganizationPermissions
type swaggerResponseOrganizationPermissions struct {
// in:body
Body api.OrganizationPermissions `json:"body"`
}