Coverage for app/ddd/presentation/endpoint/router.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-15 01:44 +0000

1from fastapi import APIRouter 

2 

3from app.ddd.presentation.endpoint import group, health, page, token, user, user_report 

4 

5# version = 'v1' 

6# main_router = APIRouter(prefix=f'/{version}') # バージョンの追記 

7main_router = APIRouter() # バージョンの追記 

8 

9main_router.include_router(token.router, tags=["token"]) 

10main_router.include_router(health.router, tags=["health"]) 

11main_router.include_router(user.router, tags=["user"]) 

12main_router.include_router(user_report.router, tags=["user-report"]) 

13main_router.include_router(group.router, tags=["group"]) 

14main_router.include_router(page.router, tags=["page"])