You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"When true and HA is active, /api/v1/ready also requires the node to have joined the Raft group and be caught up. Default false preserves current readiness behavior.",
getOp.setDescription("Liveness probe: returns 204 when the server process and HTTP layer are up. Performs no database I/O and requires no authentication.");
226
+
getOp.setOperationId("checkHealth");
227
+
getOp.addTagsItem("Health");
228
+
getOp.setResponses(createHealthResponses());
229
+
pathItem.setGet(getOp);
230
+
231
+
returnpathItem;
232
+
}
233
+
234
+
privateApiResponsescreateHealthResponses() {
235
+
finalApiResponsesresponses = newApiResponses();
236
+
237
+
// Liveness only ever responds with a 2xx when reachable; it never returns 503 (unlike readiness).
238
+
finalApiResponseliveResponse = newApiResponse();
239
+
liveResponse.setDescription("Server process and HTTP layer are up");
0 commit comments