7 lines
148 B
Python
Raw Normal View History

2023-10-10 22:13:47 +02:00
from fastapi import APIRouter
router = APIRouter()
@router.get("/users/", tags=["users"])
async def read_users():
return [{"username":"toto"}]