API HTTPidentity-svc

GET /ready

Readiness: dependencias del servicio

ImplementadoSin versión del tren todavía· generada desde apps/docs/generated/openapi/identity-svc.json

Página generada desde apps/identity-svc/src/app.aot.ts. No se edita a mano: bun run docs:gen la regenera y bun run docs:check falla 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.

CampoValor
Servicioidentity-svc
operationIdgetReady
Policy (dec-0118 §3)public
Tagshealth

Respuestas

200

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"
          }
        }
      }
    }
  }
}

503

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"
          }
        }
      }
    }
  }
}