2017-11-13 12:32:25 +05:30
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 12:32:25 +05:30
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 15:51:34 +05:30
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 12:32:25 +05:30
|
|
|
)
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// PublicKey
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response PublicKey
|
|
|
|
type swaggerResponsePublicKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.PublicKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// PublicKeyList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response PublicKeyList
|
|
|
|
type swaggerResponsePublicKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.PublicKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// GPGKey
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response GPGKey
|
|
|
|
type swaggerResponseGPGKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.GPGKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// GPGKeyList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response GPGKeyList
|
|
|
|
type swaggerResponseGPGKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.GPGKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// DeployKey
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response DeployKey
|
|
|
|
type swaggerResponseDeployKey struct {
|
|
|
|
// in:body
|
|
|
|
Body api.DeployKey `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// DeployKeyList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response DeployKeyList
|
|
|
|
type swaggerResponseDeployKeyList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.DeployKey `json:"body"`
|
|
|
|
}
|