summaryrefslogtreecommitdiff
path: root/src/routes.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-19 14:17:25 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-19 14:17:25 +0100
commit073149464269b5fcc90e282536c1a946ad474085 (patch)
treea497ad92280f4e00cfbea909fa3a2de3bc8554f4 /src/routes.rs
parent5e875ca22341821a9897092b7b9e656a7405ef32 (diff)
add docs + song api routes
Diffstat (limited to 'src/routes.rs')
-rw-r--r--src/routes.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes.rs b/src/routes.rs
index 6195f32..a219da1 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -4,6 +4,11 @@ pub mod song;
#[derive(Serialize)]
pub struct Song {
+ id: Option<i32>,
name: Option<String>,
lyrics: Option<String>,
+ album_name: Option<String>,
+ album_id: Option<i32>,
+ artist_name: Option<String>,
+ artist_id: Option<i32>,
}