mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
22 lines
531 B
Python
22 lines
531 B
Python
from fastapi import Depends, FastAPI
|
|
|
|
from . import (
|
|
controlpoints,
|
|
debuggeometries,
|
|
eventstream,
|
|
flights,
|
|
mapzones,
|
|
navmesh,
|
|
waypoints,
|
|
)
|
|
from .security import ApiKeyManager
|
|
|
|
app = FastAPI(dependencies=[Depends(ApiKeyManager.verify)])
|
|
app.include_router(controlpoints.router)
|
|
app.include_router(debuggeometries.router)
|
|
app.include_router(eventstream.router)
|
|
app.include_router(flights.router)
|
|
app.include_router(mapzones.router)
|
|
app.include_router(navmesh.router)
|
|
app.include_router(waypoints.router)
|