mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-29 03:56:43 +08:00
12 lines
259 B
Python
12 lines
259 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.router_specs import API_V1_ROUTER_SPECS
|
|
|
|
api_router = APIRouter()
|
|
for spec in API_V1_ROUTER_SPECS:
|
|
api_router.include_router(
|
|
spec.router,
|
|
prefix=spec.prefix,
|
|
tags=list(spec.tags),
|
|
)
|