Files
Atay-Makhzan/routers/api/v1/swagger/org.go
T

38 lines
770 B
Go
Raw Normal View History

2017-11-12 23:02:25 -08:00
// Copyright 2017 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
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"`
}