from aiohttp import web from aiohttp_apispec import docs from server.utils.auth import no_authorize router = web.RouteTableDef() @router.get("/health") @docs( tags=["health"], summary="Service health check.", ) @no_authorize async def get(request: web.Request) -> web.Response: return web.json_response({"status": "ok"})