Files

51 lines
966 B
Go
Raw Permalink Normal View History

2017-11-12 23:02:25 -08:00
// Copyright 2017 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
2017-11-12 23:02:25 -08:00
package swagger
import (
2019-05-11 18:21:34 +08:00
api "code.gitea.io/gitea/modules/structs"
2017-11-12 23:02:25 -08:00
)
// PublicKey
2017-11-12 23:02:25 -08:00
// swagger:response PublicKey
type swaggerResponsePublicKey struct {
// in:body
Body api.PublicKey `json:"body"`
}
// PublicKeyList
2017-11-12 23:02:25 -08:00
// swagger:response PublicKeyList
type swaggerResponsePublicKeyList struct {
// in:body
Body []api.PublicKey `json:"body"`
}
// GPGKey
2017-11-12 23:02:25 -08:00
// swagger:response GPGKey
type swaggerResponseGPGKey struct {
// in:body
Body api.GPGKey `json:"body"`
}
// GPGKeyList
2017-11-12 23:02:25 -08:00
// swagger:response GPGKeyList
type swaggerResponseGPGKeyList struct {
// in:body
Body []api.GPGKey `json:"body"`
}
// DeployKey
2017-11-12 23:02:25 -08:00
// swagger:response DeployKey
type swaggerResponseDeployKey struct {
// in:body
Body api.DeployKey `json:"body"`
}
// DeployKeyList
2017-11-12 23:02:25 -08:00
// swagger:response DeployKeyList
type swaggerResponseDeployKeyList struct {
// in:body
Body []api.DeployKey `json:"body"`
}