You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

org.go 885B

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