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 AuthorCreate(AuthorBase):
|
||||
class AuthorUpdate(SQLModel):
|
||||
"""Модель автора для обновления"""
|
||||
|
||||
name: str | None = Field(None, description="Псевдоним")
|
||||
name: str | None = Field(None, description="Псевдоним", schema_extra={"examples": [None]})
|
||||
|
||||
|
||||
class AuthorRead(AuthorBase):
|
||||
|
||||
Reference in New Issue
Block a user