summaryrefslogtreecommitdiff
path: root/src/database/song.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-26 00:27:45 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-26 00:27:45 +0100
commite3f0f700bf2de3b8e7d7c72893a4d6cb128f000d (patch)
treea7262e9c07ebb0541b0a948cb215fe33ef0246c5 /src/database/song.rs
parent57a2df34f4986f1f6062f22804021925afec0419 (diff)
update
Diffstat (limited to 'src/database/song.rs')
-rw-r--r--src/database/song.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database/song.rs b/src/database/song.rs
index 2b45065..45c217b 100644
--- a/src/database/song.rs
+++ b/src/database/song.rs
@@ -1,8 +1,9 @@
use crate::database::DatabaseWrapper;
use serde::{Deserialize, Serialize};
use sqlx::mysql::MySqlQueryResult;
+use utoipa::ToSchema;
-#[derive(Serialize)]
+#[derive(Serialize, ToSchema)]
pub struct Song {
name: Option<String>,
id: Option<i32>,