mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 12:31:09 +00:00
Единый тип ответа авторизации, добавление кнопки создания автора на странице авторы
This commit is contained in:
@@ -11,8 +11,8 @@ class AuthorBase(SQLModel):
|
||||
|
||||
name: str = Field(description="Псевдоним")
|
||||
|
||||
model_config = ConfigDict( # pyright: ignore
|
||||
json_schema_extra={"example": {"name": "author_name"}}
|
||||
model_config = ConfigDict(
|
||||
json_schema_extra={"example": {"name": "John Doe"}}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user