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.

key.go 942 B

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