2017-11-13 15:02:25 +08:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 18:21:34 +08:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 15:02:25 +08:00
|
|
|
)
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// PublicKey
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response PublicKey
|
|
|
|
type swaggerResponsePublicKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.PublicKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// PublicKeyList
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response PublicKeyList
|
|
|
|
type swaggerResponsePublicKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.PublicKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// GPGKey
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response GPGKey
|
|
|
|
type swaggerResponseGPGKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.GPGKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// GPGKeyList
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response GPGKeyList
|
|
|
|
type swaggerResponseGPGKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.GPGKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// DeployKey
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response DeployKey
|
|
|
|
type swaggerResponseDeployKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.DeployKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// DeployKeyList
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response DeployKeyList
|
|
|
|
type swaggerResponseDeployKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.DeployKey `json:"body"`
|
|
|
|
}
|