Add topics for repository API (#31127)

Fix ##31100
This commit is contained in:
Lunny Xiao 2024-05-28 18:03:54 +08:00 committed by GitHub
parent b6f15c7948
commit de4616690f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View file

@ -113,6 +113,7 @@ type Repository struct {
// swagger:strfmt date-time
MirrorUpdated time.Time `json:"mirror_updated,omitempty"`
RepoTransfer *RepoTransfer `json:"repo_transfer"`
Topics []string `json:"topics"`
}
// CreateRepoOption options when creating repository