backend/items/router.py
2025-05-05 20:38:37 +03:00

13 lines
No EOL
256 B
Python

from fastapi import APIRouter, Depends
router = APIRouter(
prefix="/items",
tags=["items"],
responses={404: {"description": "Not found"}},
dependencies=[],
)
@router.get("/")
async def get_items():
return {"message": "List of items"}