mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Tests: Set api.pwhash and dns.blocking.mode using PATCH /api/config
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -47,6 +47,22 @@ components:
|
||||
$ref: 'config.yaml#/components/examples/config_two'
|
||||
config:
|
||||
$ref: 'config.yaml#/components/examples/config'
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: 'config.yaml#/components/schemas/config'
|
||||
examples:
|
||||
config:
|
||||
$ref: 'config.yaml#/components/examples/config'
|
||||
'401':
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: 'common.yaml#/components/errors/unauthorized'
|
||||
schemas:
|
||||
config:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user