fastapi.response()
Renders a template to a fastapi.Response. (As in fastapi-chameleon, every keyword
Usage
fastapi.response(
template_file, mimetype="text/html", status_code=200, **template_data
)but mimetype and status_code is the model.)