mirror of
https://github.com/langgenius/dify.git
synced 2026-06-11 02:31:13 +08:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
12 lines
328 B
Python
12 lines
328 B
Python
from flask_restx import Resource
|
|
|
|
from controllers.openapi import openapi_ns
|
|
from controllers.openapi._models import HealthResponse
|
|
|
|
|
|
@openapi_ns.route("/_health")
|
|
class HealthApi(Resource):
|
|
@openapi_ns.response(200, "Health check", openapi_ns.models[HealthResponse.__name__])
|
|
def get(self):
|
|
return {"ok": True}
|