diff --git a/doc/api/garage-admin-v2.json b/doc/api/garage-admin-v2.json index 1aa53095..0081bf34 100644 --- a/doc/api/garage-admin-v2.json +++ b/doc/api/garage-admin-v2.json @@ -4353,30 +4353,33 @@ "WorkerStateResp": { "oneOf": [ { - "type": "object", - "required": [ - "throttled" - ], - "properties": { - "throttled": { - "type": "object", - "required": [ - "durationSecs" - ], - "properties": { - "durationSecs": { - "type": "number", - "format": "float" - } - } - } - } - }, + "$ref": "#/components/schemas/Yolo" + }, { "$ref": "#/components/schemas/WorkerStateRespStrs" } ] }, + "Yolo": { + "type": "object", + "required": [ + "throttled" + ], + "properties": { + "throttled": { + "type": "object", + "required": [ + "durationSecs" + ], + "properties": { + "durationSecs": { + "type": "number", + "format": "float" + } + } + } + } + }, "WorkerStateRespStrs": { "type": "string", "enum": [