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

user.go 703 B

123456789101112131415161718192021222324252627282930313233343536
  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. api "code.gitea.io/sdk/gitea"
  7. )
  8. // User
  9. // swagger:response User
  10. type swaggerResponseUser struct {
  11. // in:body
  12. Body api.User `json:"body"`
  13. }
  14. // UserList
  15. // swagger:response UserList
  16. type swaggerResponseUserList struct {
  17. // in:body
  18. Body []api.User `json:"body"`
  19. }
  20. // EmailList
  21. // swagger:response EmailList
  22. type swaggerResponseEmailList struct {
  23. // in:body
  24. Body []api.Email `json:"body"`
  25. }
  26. // swagger:model EditUserOption
  27. type swaggerModelEditUserOption struct {
  28. // in:body
  29. Options api.EditUserOption
  30. }