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":