mirror of
https://github.com/StepanovPlaton/torrent_backend.git
synced 2026-04-03 20:30:38 +04:00
Add audiobooks
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
from typing import Optional
|
||||
from fastapi import Body
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
|
||||
|
||||
class GameCardBase(BaseModel):
|
||||
title: str = Field(examples=["DwarfFortress", "RimWorld"])
|
||||
title: str = Field(examples=["DwarfFortress"])
|
||||
cover: Optional[str] = \
|
||||
Field(default=None, examples=["cover_filename.jpg"])
|
||||
description: Optional[str] = \
|
||||
|
||||
Reference in New Issue
Block a user