mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 23:03:21 +01:00
e81ccc406b
Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
43 lines
885 B
Go
43 lines
885 B
Go
// Copyright 2017 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package swagger
|
|
|
|
import (
|
|
api "code.gitea.io/gitea/modules/structs"
|
|
)
|
|
|
|
// Organization
|
|
// swagger:response Organization
|
|
type swaggerResponseOrganization struct {
|
|
// in:body
|
|
Body api.Organization `json:"body"`
|
|
}
|
|
|
|
// OrganizationList
|
|
// swagger:response OrganizationList
|
|
type swaggerResponseOrganizationList struct {
|
|
// in:body
|
|
Body []api.Organization `json:"body"`
|
|
}
|
|
|
|
// Team
|
|
// swagger:response Team
|
|
type swaggerResponseTeam struct {
|
|
// in:body
|
|
Body api.Team `json:"body"`
|
|
}
|
|
|
|
// TeamList
|
|
// 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"`
|
|
}
|