def METHOD_NAME(
    app: web.Application,
    router_prefix: str,
    handler_check_decorator: Callable,
    task_request_context_decorator: Callable,
):
    # add routing paths
    for route in _routes.routes:
        app.router.add_route(
            method=route.method,
            path=f"{router_prefix}{route.path}",
            handler=handler_check_decorator(
                task_request_context_decorator(route.handler)
            ),
            **route.kwargs,
        )