🎨 Move prefix and tags to routers (#1439)

This commit is contained in:
Patrick Arminio
2024-12-02 13:04:03 +01:00
committed by GitHub
parent aa71abedcc
commit 30832076f5
5 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ from sqlmodel import func, select
from app.api.deps import CurrentUser, SessionDep
from app.models import Item, ItemCreate, ItemPublic, ItemsPublic, ItemUpdate, Message
router = APIRouter()
router = APIRouter(prefix="/items", tags=["items"])
@router.get("/", response_model=ItemsPublic)