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.

user.go 905B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright 2017 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package swagger
  5. import (
  6. "code.gitea.io/gitea/models"
  7. api "code.gitea.io/gitea/modules/structs"
  8. )
  9. // User
  10. // swagger:response User
  11. type swaggerResponseUser struct {
  12. // in:body
  13. Body api.User `json:"body"`
  14. }
  15. // UserList
  16. // swagger:response UserList
  17. type swaggerResponseUserList struct {
  18. // in:body
  19. Body []api.User `json:"body"`
  20. }
  21. // EmailList
  22. // swagger:response EmailList
  23. type swaggerResponseEmailList struct {
  24. // in:body
  25. Body []api.Email `json:"body"`
  26. }
  27. // swagger:model EditUserOption
  28. type swaggerModelEditUserOption struct {
  29. // in:body
  30. Options api.EditUserOption
  31. }
  32. // UserHeatmapData
  33. // swagger:response UserHeatmapData
  34. type swaggerResponseUserHeatmapData struct {
  35. // in:body
  36. Body []models.UserHeatmapData `json:"body"`
  37. }