1
0
Fork 0
forked from forgejo/forgejo

Add fingerprint to ssh key endpoints. (#3009)

* Add fingerprint to ssh key endpoints.

* Update gitea sdk vendor
This commit is contained in:
Vlad Temian 2017-11-28 17:21:39 +02:00 committed by Lauris BH
parent 0c69b768b9
commit 6ad4990a65
5 changed files with 84 additions and 13 deletions

View file

@ -13,10 +13,11 @@ import (
// PublicKey publickey is a user key to push code to repository
type PublicKey struct {
ID int64 `json:"id"`
Key string `json:"key"`
URL string `json:"url,omitempty"`
Title string `json:"title,omitempty"`
ID int64 `json:"id"`
Key string `json:"key"`
URL string `json:"url,omitempty"`
Title string `json:"title,omitempty"`
Fingerprint string `json:"fingerprint,omitempty"`
// swagger:strfmt date-time
Created time.Time `json:"created_at,omitempty"`
}