from fastapi import APIRouter from src.api.v1.routers.attachments import router as attachments_router from src.api.v1.routers.auth.router import router as auth_router from src.api.v1.routers.chats.router import router as chats_router from src.api.v1.routers.messages.router import router as messages_router from src.api.v1.routers.users.router import router as users_router router = APIRouter(prefix="/api/v1", tags=["Версия 1"]) router.include_router(users_router) router.include_router(chats_router) router.include_router(messages_router) router.include_router(auth_router) router.include_router(attachments_router)