gitea源码

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. // PublicKey
  8. // swagger:response PublicKey
  9. type swaggerResponsePublicKey struct {
  10. // in:body
  11. Body api.PublicKey `json:"body"`
  12. }
  13. // PublicKeyList
  14. // swagger:response PublicKeyList
  15. type swaggerResponsePublicKeyList struct {
  16. // in:body
  17. Body []api.PublicKey `json:"body"`
  18. }
  19. // GPGKey
  20. // swagger:response GPGKey
  21. type swaggerResponseGPGKey struct {
  22. // in:body
  23. Body api.GPGKey `json:"body"`
  24. }
  25. // GPGKeyList
  26. // swagger:response GPGKeyList
  27. type swaggerResponseGPGKeyList struct {
  28. // in:body
  29. Body []api.GPGKey `json:"body"`
  30. }
  31. // DeployKey
  32. // swagger:response DeployKey
  33. type swaggerResponseDeployKey struct {
  34. // in:body
  35. Body api.DeployKey `json:"body"`
  36. }
  37. // DeployKeyList
  38. // swagger:response DeployKeyList
  39. type swaggerResponseDeployKeyList struct {
  40. // in:body
  41. Body []api.DeployKey `json:"body"`
  42. }