Skip to content

Commit 59bb85e

Browse files
Update Documentation with core changes (#167)
Co-authored-by: discoursebuild <build@discourse.org>
1 parent 87ceb05 commit 59bb85e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

openapi.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7273,9 +7273,13 @@
72737273
"type": "object",
72747274
"properties": {
72757275
"locked": {
7276-
"type": "boolean"
7276+
"type": "boolean",
7277+
"description": "Whether the post is locked"
72777278
}
7278-
}
7279+
},
7280+
"required": [
7281+
"locked"
7282+
]
72797283
}
72807284
}
72817285
}
@@ -7288,7 +7292,8 @@
72887292
"type": "object",
72897293
"properties": {
72907294
"locked": {
7291-
"type": "string"
7295+
"type": "string",
7296+
"description": "Whether to lock the post (true/false)"
72927297
}
72937298
},
72947299
"required": [

openapi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5211,6 +5211,9 @@ paths:
52115211
properties:
52125212
locked:
52135213
type: boolean
5214+
description: Whether the post is locked
5215+
required:
5216+
- locked
52145217
requestBody:
52155218
content:
52165219
application/json:
@@ -5219,6 +5222,7 @@ paths:
52195222
properties:
52205223
locked:
52215224
type: string
5225+
description: Whether to lock the post (true/false)
52225226
required:
52235227
- locked
52245228
"/post_actions.json":

0 commit comments

Comments
 (0)