fix(api): align Swagger schemas for UserSettings and TopicListResponse (#38590) (#38592)

Backport #38590

Signed-off-by: Sudhanshu Singh <sudhanshuwriterblc@gmail.com>
Co-authored-by: Shudhanshu Singh <sudhanshuwriterblc@gmail.com>
This commit is contained in:
Giteabot
2026-07-23 07:27:47 +00:00
committed by GitHub
co-authored by Shudhanshu Singh
parent 62c61aa8ce
commit 560535a97f
6 changed files with 41 additions and 20 deletions
+5
View File
@@ -32,3 +32,8 @@ type RepoTopicOptions struct {
// list of topic names
Topics []string `json:"topics"`
}
// TopicListResponse returns a list of TopicResponse
type TopicListResponse struct {
Topics []*TopicResponse `json:"topics"`
}