初始提交: Gitea 项目代码
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
// Copyright 2023 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package swagger
|
||||
|
||||
import api "gitea.dev/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"`
|
||||
}
|
||||
|
||||
// ActionWorkflow
|
||||
// swagger:response ActionWorkflow
|
||||
type swaggerResponseActionWorkflow struct {
|
||||
// in:body
|
||||
Body api.ActionWorkflow `json:"body"`
|
||||
}
|
||||
|
||||
// ActionWorkflowList
|
||||
// swagger:response ActionWorkflowList
|
||||
type swaggerResponseActionWorkflowList struct {
|
||||
// in:body
|
||||
Body api.ActionWorkflowResponse `json:"body"`
|
||||
}
|
||||
|
||||
// RunDetails
|
||||
// swagger:response RunDetails
|
||||
type swaggerResponseRunDetails struct {
|
||||
// in:body
|
||||
Body api.RunDetails `json:"body"`
|
||||
}
|
||||
Reference in New Issue
Block a user