19 lines
447 B
Python
19 lines
447 B
Python
from fastapi import APIRouter, Depends, HTTPException
|
|
from core.database import fake_users_db
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/lol")
|
|
async def lol_handler():
|
|
"""Demo lol endpoint"""
|
|
return {
|
|
"message": "LOL success",
|
|
"data": {
|
|
"expression": "😂",
|
|
"meaning": "Laugh Out Loud"
|
|
},
|
|
"metadata": {
|
|
"response_type": "humor",
|
|
"intensity": "high"
|
|
}
|
|
} |