gitea源码

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Copyright 2023 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package swagger
  4. import api "code.gitea.io/gitea/modules/structs"
  5. // SecretList
  6. // swagger:response SecretList
  7. type swaggerResponseSecretList struct {
  8. // in:body
  9. Body []api.Secret `json:"body"`
  10. }
  11. // Secret
  12. // swagger:response Secret
  13. type swaggerResponseSecret struct {
  14. // in:body
  15. Body api.Secret `json:"body"`
  16. }
  17. // ActionVariable
  18. // swagger:response ActionVariable
  19. type swaggerResponseActionVariable struct {
  20. // in:body
  21. Body api.ActionVariable `json:"body"`
  22. }
  23. // VariableList
  24. // swagger:response VariableList
  25. type swaggerResponseVariableList struct {
  26. // in:body
  27. Body []api.ActionVariable `json:"body"`
  28. }
  29. // ActionWorkflow
  30. // swagger:response ActionWorkflow
  31. type swaggerResponseActionWorkflow struct {
  32. // in:body
  33. Body api.ActionWorkflow `json:"body"`
  34. }
  35. // ActionWorkflowList
  36. // swagger:response ActionWorkflowList
  37. type swaggerResponseActionWorkflowList struct {
  38. // in:body
  39. Body api.ActionWorkflowResponse `json:"body"`
  40. }