code.gitea.io/gitea@v1.21.7/routers/api/v1/swagger/org.go (about) 1 // Copyright 2017 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package swagger 5 6 import ( 7 api "code.gitea.io/gitea/modules/structs" 8 ) 9 10 // Organization 11 // swagger:response Organization 12 type swaggerResponseOrganization struct { 13 // in:body 14 Body api.Organization `json:"body"` 15 } 16 17 // OrganizationList 18 // swagger:response OrganizationList 19 type swaggerResponseOrganizationList struct { 20 // in:body 21 Body []api.Organization `json:"body"` 22 } 23 24 // Team 25 // swagger:response Team 26 type swaggerResponseTeam struct { 27 // in:body 28 Body api.Team `json:"body"` 29 } 30 31 // TeamList 32 // swagger:response TeamList 33 type swaggerResponseTeamList struct { 34 // in:body 35 Body []api.Team `json:"body"` 36 } 37 38 // OrganizationPermissions 39 // swagger:response OrganizationPermissions 40 type swaggerResponseOrganizationPermissions struct { 41 // in:body 42 Body api.OrganizationPermissions `json:"body"` 43 }