From d79fd746a96ddb5642939c9727baefce642d78e6 Mon Sep 17 00:00:00 2001 From: akbash Date: Tue, 25 Aug 2026 23:44:56 +0300 Subject: fix: require explicit workspace group close (#3206) refs #2874 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> --- docs/next/api/herdr-api.schema.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'docs/next/api/herdr-api.schema.json') diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index f9642ffa..8ff90f20 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "protocol": 20, + "protocol": 21, "schema_version": 1, "schemas": { "error_response": { @@ -4145,6 +4145,20 @@ ], "type": "string" }, + "WorkspaceCloseParams": { + "properties": { + "close_group": { + "type": "boolean" + }, + "workspace_id": { + "type": "string" + } + }, + "required": [ + "workspace_id" + ], + "type": "object" + }, "WorkspaceCreateParams": { "properties": { "cwd": { @@ -4722,7 +4736,7 @@ "type": "string" }, "params": { - "$ref": "#/schemas/request/$defs/WorkspaceTarget" + "$ref": "#/schemas/request/$defs/WorkspaceCloseParams" } }, "required": [ -- cgit v1.2.3