mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
add collection sugar
This commit is contained in:
@@ -18,9 +18,8 @@ type Song struct {
|
||||
// CollectionPreview represents a preview of a song collection
|
||||
// @Description CollectionPreview contains summary data of a song collection
|
||||
type CollectionPreview struct {
|
||||
Name string `json:"name" example:"Favorite Songs"`
|
||||
Name string `json:"name" example:"Collection Name"`
|
||||
Image string `json:"image" example:"cover.jpg"`
|
||||
Index int `json:"index" example:"1"`
|
||||
Items int `json:"items" example:"10"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user