Health
Estrutura de dados do contrato OpenAPI.
Estrutura de dados do contrato OpenAPI.
Campos
| Campo | Tipo | Presença | Descrição |
|---|---|---|---|
status | string | obrigatório | Valores: "alive", "ready", "not_ready" |
reason | string | opcional | Valores: "database_unreachable" |
Definição OpenAPI
json
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"alive",
"ready",
"not_ready"
]
},
"reason": {
"type": "string",
"enum": [
"database_unreachable"
]
}
},
"required": [
"status"
]
}