Merge pull request #12 from minhtrannhat/backend

Feat(Backend): Added docs to openAPI
This commit is contained in:
2023-07-26 16:52:09 -04:00
committed by GitHub

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