Coverage for src/kwai/api/v1/auth/api.py: 100%
7 statements
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
1"""Module that defines the auth apis."""
3from fastapi import APIRouter
5from kwai.api.v1.auth.endpoints import login, user, user_invitations, users
8api_router = APIRouter(prefix="/auth")
9api_router.include_router(login.router, tags=["auth/login"])
10api_router.include_router(user.router, tags=["auth/user"])
11api_router.include_router(
12 user_invitations.router, prefix="/users", tags=["auth/users/invitations"]
13)
14api_router.include_router(users.router, prefix="/users", tags=["auth/users"])