halfapi/tests/dummy_domain/routers/abc/alphabet/__init__.py
2022-08-19 18:45:45 +02:00

12 lines
280 B
Python

from starlette.responses import PlainTextResponse
from halfapi.lib.acl import ACL, public
@ACL([{'acl':public}])
async def get(request, *args, **kwargs):
"""
responses:
200:
description: dummy abc.alphabet route
"""
return PlainTextResponse('True')