12 lines
331 B
Python
12 lines
331 B
Python
# Entity: Scream
|
|
|
|
from fastapi import APIRouter, status
|
|
from schemas.scream import ScreamResponse
|
|
from helpers.scream_helpers import generate_scream
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/chy", status_code=200, response_model=ScreamResponse)
|
|
async def get_scream():
|
|
"""Returns a screaming response"""
|
|
return generate_scream() |