code.gitea.io/gitea@v1.21.7/routers/api/v1/swagger/key.go (about) 1 // Copyright 2017 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package swagger 5 6 import ( 7 api "code.gitea.io/gitea/modules/structs" 8 ) 9 10 // PublicKey 11 // swagger:response PublicKey 12 type swaggerResponsePublicKey struct { 13 // in:body 14 Body api.PublicKey `json:"body"` 15 } 16 17 // PublicKeyList 18 // swagger:response PublicKeyList 19 type swaggerResponsePublicKeyList struct { 20 // in:body 21 Body []api.PublicKey `json:"body"` 22 } 23 24 // GPGKey 25 // swagger:response GPGKey 26 type swaggerResponseGPGKey struct { 27 // in:body 28 Body api.GPGKey `json:"body"` 29 } 30 31 // GPGKeyList 32 // swagger:response GPGKeyList 33 type swaggerResponseGPGKeyList struct { 34 // in:body 35 Body []api.GPGKey `json:"body"` 36 } 37 38 // DeployKey 39 // swagger:response DeployKey 40 type swaggerResponseDeployKey struct { 41 // in:body 42 Body api.DeployKey `json:"body"` 43 } 44 45 // DeployKeyList 46 // swagger:response DeployKeyList 47 type swaggerResponseDeployKeyList struct { 48 // in:body 49 Body []api.DeployKey `json:"body"` 50 }