Feat(Backend): Added docs to openAPI

This commit is contained in:
minhtrannhat 2023-07-21 22:45:28 -04:00
parent 22374728be
commit 719889e2bc
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062

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"}