From e3f0f700bf2de3b8e7d7c72893a4d6cb128f000d Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sun, 26 Jan 2025 00:27:45 +0100 Subject: update --- src/database/song.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/database/song.rs') 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, id: Option, -- cgit v1.2.3