- routers/user.py --> usersRouter=APIRouter()
- routers/items.py --> itemsRouter=APIRouter()
# main.py
from fastapi import FastAPI
from routers.user import usersRouter
from routers.items import itemsRouter
app = FastAPI()
app.include_router(usersRouter)
app.include_router(itemsRouter)
app.include_router(usersRouter,prefix="/user",tags=['users'])
app.include_router(itemsRouter,prefix="/items",tags=['Itmes'])