Files
unshackle/unshackle/core/api/__init__.py
T
imSp4rky e685710fba refactor(api): register each route once and merge duplicated handler code
Swagger now owns route registration instead of adding a second dead copy of every route; add json_body, enqueue_job, serialize_tracks and client_credential, build the serve middleware list once, and scan the users once per request.
2026-11-02 15:06:52 -07:00

4 lines
155 B
Python

from unshackle.core.api.routes import cors_middleware, no_5xx_middleware, setup_routes
__all__ = ["setup_routes", "cors_middleware", "no_5xx_middleware"]