Readiness: dependencias del servicio
apps/docs/generated/openapi/identity-svc.jsonPágina generada desde
apps/identity-svc/src/app.aot.ts. No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla si difiere.
GET /ready
Prueba cada dependencia registrada con un plazo de 3 s. 503 si falla alguna crítica; las no críticas sólo se informan.
| Campo | Valor |
|---|---|
| Servicio | identity-svc |
| operationId | getReady |
Policy (dec-0118 §3) | public |
| Tags | health |
Response for status 200
application/json
{
"type": "object",
"required": [
"status",
"checks"
],
"properties": {
"status": {
"type": "string",
"enum": [
"ready",
"not-ready"
]
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"critical",
"ok"
],
"properties": {
"name": {
"type": "string"
},
"critical": {
"type": "boolean"
},
"ok": {
"type": "boolean"
},
"error": {
"type": "string"
}
}
}
}
}
}Response for status 503
application/json
{
"type": "object",
"required": [
"status",
"checks"
],
"properties": {
"status": {
"type": "string",
"enum": [
"ready",
"not-ready"
]
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"critical",
"ok"
],
"properties": {
"name": {
"type": "string"
},
"critical": {
"type": "boolean"
},
"ok": {
"type": "boolean"
},
"error": {
"type": "string"
}
}
}
}
}
}