Merge pull request #12 from minhtrannhat/backend

Feat(Backend): Added docs to openAPI
This commit is contained in:
Minh Tran Nhat 2023-07-26 16:52:09 -04:00 committed by GitHub
commit 7611c9c2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,4 +7,7 @@ blueprint = Blueprint("control", __name__)
@blueprint.get("/control/ping/")
@rate_exempt
async def ping() -> ResponseReturnValue:
"""Ping the server
Check if server is up and running.
"""
return {"ping": "pong"}