Files
roleplay-contract/api/rpk-api/hub/__init__.py
2025-04-10 22:43:00 +02:00

17 lines
889 B
Python

from fastapi import APIRouter
from hub.auth import auth_router, register_router, password_router, verification_router, users_router, \
google_oauth_router, discord_oauth_router
from hub.firm.routes import router as firm_router
hub_router = APIRouter()
hub_router.include_router(register_router, tags=["Auth"], )
hub_router.include_router(auth_router, prefix="/auth", tags=["Auth"], )
hub_router.include_router(google_oauth_router, prefix="/auth/google", tags=["Auth"])
hub_router.include_router(discord_oauth_router, prefix="/auth/discord", tags=["Auth"])
hub_router.include_router(verification_router, prefix="/auth/verification", tags=["Auth"], )
hub_router.include_router(users_router, prefix="/users", tags=["Users"], )
hub_router.include_router(password_router, prefix="/users", tags=["Users"], )
hub_router.include_router(firm_router, prefix="/users/firms", tags=["Users"], )