From 2bd3f79078324e4a78130314480fbd0a0eed0bb9 Mon Sep 17 00:00:00 2001 From: discoursebuild Date: Fri, 17 Oct 2025 15:59:23 +0000 Subject: [PATCH] Update Documentation with core changes --- openapi.json | 11 ++++++++--- openapi.yml | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/openapi.json b/openapi.json index 816014a..df94410 100644 --- a/openapi.json +++ b/openapi.json @@ -7273,9 +7273,13 @@ "type": "object", "properties": { "locked": { - "type": "boolean" + "type": "boolean", + "description": "Whether the post is locked" } - } + }, + "required": [ + "locked" + ] } } } @@ -7288,7 +7292,8 @@ "type": "object", "properties": { "locked": { - "type": "string" + "type": "string", + "description": "Whether to lock the post (true/false)" } }, "required": [ diff --git a/openapi.yml b/openapi.yml index 05f3a50..c3922bb 100644 --- a/openapi.yml +++ b/openapi.yml @@ -5211,6 +5211,9 @@ paths: properties: locked: type: boolean + description: Whether the post is locked + required: + - locked requestBody: content: application/json: @@ -5219,6 +5222,7 @@ paths: properties: locked: type: string + description: Whether to lock the post (true/false) required: - locked "/post_actions.json":