aboutsummaryrefslogtreecommitdiff
path: root/docs/next/api/herdr-api.schema.json
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-08-25 23:44:56 +0300
committerGitHub <noreply@github.com>2026-08-25 23:44:56 +0300
commitd79fd746a96ddb5642939c9727baefce642d78e6 (patch)
treef6ca7416b082168db6607952d5fb6672f5173826 /docs/next/api/herdr-api.schema.json
parentda5357d23f8450d4609f72d079876d7d439ef5a0 (diff)
fix: require explicit workspace group close (#3206)
refs #2874 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Diffstat (limited to 'docs/next/api/herdr-api.schema.json')
-rw-r--r--docs/next/api/herdr-api.schema.json18
1 files changed, 16 insertions, 2 deletions
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": [