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.

key.go 966B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. }