-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathrouter.py
More file actions
24 lines (21 loc) · 764 Bytes
/
router.py
File metadata and controls
24 lines (21 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from fastapi import APIRouter
from app.presentation.http.controllers.account.change_password import (
create_change_password_router,
)
from app.presentation.http.controllers.account.log_in import create_log_in_router
from app.presentation.http.controllers.account.log_out import (
create_log_out_router,
)
from app.presentation.http.controllers.account.sign_up import (
create_sign_up_router,
)
def create_account_router() -> APIRouter:
router = APIRouter(
prefix="/account",
tags=["Account"],
)
router.include_router(create_sign_up_router())
router.include_router(create_log_in_router())
router.include_router(create_change_password_router())
router.include_router(create_log_out_router())
return router