mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
fix(writeapi): more tweaks to schema files
This commit is contained in:
@@ -11,6 +11,24 @@ put:
|
||||
required: true
|
||||
description: backend id of the setting to update
|
||||
example: maximumRelatedTopics
|
||||
- in: path
|
||||
name: value
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
description: the value of the new setting
|
||||
example: 2
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
type: string
|
||||
description: the value of the new setting
|
||||
example: 2
|
||||
responses:
|
||||
'200':
|
||||
description: Admin setting updated
|
||||
|
||||
Reference in New Issue
Block a user