diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-05-28 18:03:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 10:03:54 +0000 |
commit | de4616690f742aebc3e019fde5c73c432d543292 (patch) | |
tree | ed7259c7eb01492e930811af31011f4f89520c20 /modules/structs | |
parent | b6f15c7948ac3d09977350de83ec91d5789ea083 (diff) | |
download | gitea-de4616690f742aebc3e019fde5c73c432d543292.tar.gz gitea-de4616690f742aebc3e019fde5c73c432d543292.zip |
Add topics for repository API (#31127)
Fix ##31100
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 1fe826cf89..444967c3e7 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -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 |