floorball_stas/backend/app/api/api_v1/api.py

17 lines
812 B
Python

from fastapi import APIRouter
from backend.app.api.api_v1.endpoints import users
from backend.app.api.api_v1.endpoints import login
from backend.app.api.api_v1.endpoints import player
from backend.app.api.api_v1.endpoints import team
from backend.app.api.api_v1.endpoints import match
from backend.app.api.api_v1.endpoints import matchday
api_router = APIRouter()
api_router.include_router(login.router, tags=["login"])
api_router.include_router(users.router, prefix="/users", tags=["users"])
api_router.include_router(player.router, prefix="/player", tags=["player"])
api_router.include_router(team.router, prefix="/team", tags=["team"])
api_router.include_router(matchday.router, prefix="/matchday", tags=["matchday"])
api_router.include_router(match.router, prefix="/match", tags=["match"])