diff options
Diffstat (limited to 'src/database/song.rs')
-rw-r--r-- | src/database/song.rs | 3 |
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>, |