forked from ApexChainx/ApexChainx-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrouter.py
More file actions
31 lines (28 loc) · 952 Bytes
/
Copy pathrouter.py
File metadata and controls
31 lines (28 loc) · 952 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
25
26
27
28
29
30
31
from fastapi import APIRouter
from app.api.v1.endpoints import (
api_keys,
audit,
auth,
jobs,
metrics,
oauth,
outages,
payments,
sla,
sla_dispute,
wallets,
webhooks,
)
api_router = APIRouter()
api_router.include_router(api_keys.router)
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
api_router.include_router(audit.router)
api_router.include_router(jobs.router)
api_router.include_router(metrics.router)
api_router.include_router(oauth.router)
api_router.include_router(outages.router, prefix="/outages", tags=["outages"])
api_router.include_router(sla.router, prefix="/sla", tags=["sla"])
api_router.include_router(sla_dispute.router, prefix="/sla", tags=["sla-disputes"])
api_router.include_router(payments.router, prefix="/payments", tags=["payments"])
api_router.include_router(webhooks.router)
api_router.include_router(wallets.router, prefix="/wallets", tags=["wallets"])