mirror of
https://github.com/StepanovPlaton/torrent_backend.git
synced 2026-04-03 20:30:38 +04:00
Add swagger examples and description
This commit is contained in:
9
main.py
9
main.py
@@ -5,7 +5,14 @@ import typer
|
||||
import cli_commands
|
||||
from routes import *
|
||||
|
||||
app = FastAPI()
|
||||
app = FastAPI(
|
||||
title=".Torrent",
|
||||
description=".Torrent - сервис обмена .torrent файлами видеоигр, фильмов и аудиокниг",
|
||||
contact={
|
||||
"name": "Платон (разработчик)",
|
||||
"url": "https://github.com/StepanovPlaton"
|
||||
},
|
||||
)
|
||||
app.include_router(startup_router)
|
||||
app.include_router(games_router)
|
||||
app.include_router(files_router)
|
||||
|
||||
Reference in New Issue
Block a user