diff --git a/api_schemas/song_schemas.py b/api_schemas/song_schemas.py index 514319af..44c4974f 100644 --- a/api_schemas/song_schemas.py +++ b/api_schemas/song_schemas.py @@ -12,6 +12,15 @@ class SongRead(BaseSchema): views: int +class SongEdit(BaseSchema): + id: int + title: str + author: str | None + melody: str | None + content: str + category_id: int + + class SongCreate(BaseSchema): title: str author: str | None