mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2026-02-03 11:40:39 +03:00
microservices are able to run (#5)
This commit is contained in:
0
bot_microservice/api/system/__init__.py
Normal file
0
bot_microservice/api/system/__init__.py
Normal file
15
bot_microservice/api/system/controllers.py
Normal file
15
bot_microservice/api/system/controllers.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from fastapi import APIRouter
|
||||
from fastapi.responses import ORJSONResponse
|
||||
from starlette import status
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get(
|
||||
"/healthcheck",
|
||||
name="system:healthcheck",
|
||||
status_code=status.HTTP_200_OK,
|
||||
summary="Healthcheck service",
|
||||
)
|
||||
async def healthcheck() -> ORJSONResponse:
|
||||
return ORJSONResponse(content=None, status_code=status.HTTP_200_OK)
|
||||
Reference in New Issue
Block a user