mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-26 03:24:31 +02:00
- Massive replacement of changing `code.gitea.io/gitea` to `forgejo.org`. - Resolves forgejo/discussions#258 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7337 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-by: Beowulf <beowulf@beocode.eu> Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
48 lines
1 KiB
Go
48 lines
1 KiB
Go
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package swagger
|
|
|
|
import api "forgejo.org/modules/structs"
|
|
|
|
// SecretList
|
|
// swagger:response SecretList
|
|
type swaggerResponseSecretList struct {
|
|
// in:body
|
|
Body []api.Secret `json:"body"`
|
|
}
|
|
|
|
// Secret
|
|
// swagger:response Secret
|
|
type swaggerResponseSecret struct {
|
|
// in:body
|
|
Body api.Secret `json:"body"`
|
|
}
|
|
|
|
// ActionVariable
|
|
// swagger:response ActionVariable
|
|
type swaggerResponseActionVariable struct {
|
|
// in:body
|
|
Body api.ActionVariable `json:"body"`
|
|
}
|
|
|
|
// VariableList
|
|
// swagger:response VariableList
|
|
type swaggerResponseVariableList struct {
|
|
// in:body
|
|
Body []api.ActionVariable `json:"body"`
|
|
}
|
|
|
|
// RunJobList is a list of action run jobs
|
|
// swagger:response RunJobList
|
|
type swaggerRunJobList struct {
|
|
// in:body
|
|
Body []*api.ActionRunJob `json:"body"`
|
|
}
|
|
|
|
// DispatchWorkflowRun is a Workflow Run after dispatching
|
|
// swagger:response DispatchWorkflowRun
|
|
type swaggerDispatchWorkflowRun struct {
|
|
// in:body
|
|
Body *api.DispatchWorkflowRun `json:"body"`
|
|
}
|