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.

51 lines
1.0 KiB

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