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 670 B

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