mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 03:55:25 -04:00
629e046303
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
13 lines
361 B
Python
13 lines
361 B
Python
from flask_restx import Resource
|
|
|
|
from controllers.openapi import openapi_ns
|
|
from controllers.openapi._contract import returns
|
|
from controllers.openapi._models import HealthResponse
|
|
|
|
|
|
@openapi_ns.route("/_health")
|
|
class HealthApi(Resource):
|
|
@returns(200, HealthResponse, description="Health check")
|
|
def get(self):
|
|
return HealthResponse(ok=True)
|