service_man/api/app_entrypoint/routers.py

16 lines
344 B
Python
Raw Permalink Normal View History

2024-03-31 00:58:43 +03:00
from fastapi import FastAPI
2024-04-08 23:55:30 +03:00
from api.presentation.routers import (
auth_router,
company_router,
healthcheck_router,
user_router,
)
2024-03-31 00:58:43 +03:00
def init_routers(app: FastAPI) -> None:
2024-03-31 01:36:57 +03:00
app.include_router(user_router)
2024-04-01 12:19:10 +03:00
app.include_router(auth_router)
2024-04-08 17:32:50 +03:00
app.include_router(company_router)
2024-03-31 00:58:43 +03:00
app.include_router(healthcheck_router)