mud_server.api.routes.register
Route registration entry point for the FastAPI application.
Keeps the public register_routes(app, engine) API unchanged while splitting implementation into focused router modules.
Functions
|
Register all API routes with the FastAPI app. |
Module Contents
- mud_server.api.routes.register.register_routes(app, engine)[source]
Register all API routes with the FastAPI app.
Registration order is intentional: - baseline auth/game/admin/lab routes first for existing clients - pipeline routes after base modules to keep new primitives additive
- Parameters:
app (fastapi.FastAPI) – FastAPI application instance to attach routers to.
engine (mud_server.core.engine.GameEngine) – Shared game engine dependency passed to route factories.