first commit

This commit is contained in:
baozaotumao2025
2026-07-18 21:00:26 +08:00
commit 14722be770
105 changed files with 25004 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from fastapi import APIRouter, Security
from app.api.security import bearer_scheme
from app.api.v1.endpoints import auth, health, providers, reports, runs
api_router = APIRouter()
api_router.include_router(health.router, tags=["system"])
api_router.include_router(auth.router, tags=["authentication"])
protected = [Security(bearer_scheme)]
api_router.include_router(providers.router, tags=["providers"], dependencies=protected)
api_router.include_router(runs.router, tags=["runs"], dependencies=protected)
api_router.include_router(reports.router, tags=["reports"], dependencies=protected)