From 173a54a83c7ac7a93a0ce20b6c8fa24280959518 Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Thu, 5 Mar 2026 23:41:20 +0100 Subject: [PATCH] identical but maybe valid --- doc/api/garage-admin-v2.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/api/garage-admin-v2.json b/doc/api/garage-admin-v2.json index 69b2d75b..1aa53095 100644 --- a/doc/api/garage-admin-v2.json +++ b/doc/api/garage-admin-v2.json @@ -4351,6 +4351,33 @@ } }, "WorkerStateResp": { + "oneOf": [ + { + "type": "object", + "required": [ + "throttled" + ], + "properties": { + "throttled": { + "type": "object", + "required": [ + "durationSecs" + ], + "properties": { + "durationSecs": { + "type": "number", + "format": "float" + } + } + } + } + }, + { + "$ref": "#/components/schemas/WorkerStateRespStrs" + } + ] + }, + "WorkerStateRespStrs": { "type": "string", "enum": [ "busy",