mirror of
https://github.com/wowlikon/LiB.git
synced 2026-03-21 23:53:38 +00:00
Исправление документации swagger и ошибок обновления данных
This commit is contained in:
@@ -25,7 +25,7 @@ class GenreCreate(GenreBase):
|
||||
class GenreUpdate(SQLModel):
|
||||
"""Модель жанра для обновления"""
|
||||
|
||||
name: str | None = Field(None, description="Название")
|
||||
name: str | None = Field(None, description="Название", schema_extra={"examples": [None]})
|
||||
|
||||
|
||||
class GenreRead(GenreBase):
|
||||
|
||||
Reference in New Issue
Block a user