You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/copier-template/{{ project_slug }}/modules/example/routes.py.jinja

11 lines
206 B
Django/Jinja

from apiflask import APIBlueprint
from iti.applications.common.utils import success
bp = APIBlueprint("example", __name__, tag="Example")
@bp.get("/ping")
def ping():
return success({"pong": True})