Add fingerprint to ssh key endpoints. (#82)

This commit is contained in:
Vlad Temian 2017-11-28 16:53:25 +02:00 committed by Lunny Xiao
parent 4319a1eaff
commit 24adbb03ee

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"`
}