mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
25 lines
640 B
JSON
25 lines
640 B
JSON
{
|
|
"@comment": "Makes sure that the health endpoint contains three fields with the right types",
|
|
"in": {
|
|
"url": "http://localhost:8080/__health"
|
|
},
|
|
"out": {
|
|
"status_code": 200,
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"required": ["agents","now","status"],
|
|
"properties": {
|
|
"agents": {
|
|
"type": "object"
|
|
},
|
|
"now": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": ["ok"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |