Tests: Set api.pwhash and dns.blocking.mode using PATCH /api/config

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-01-09 19:08:53 +01:00
parent 4abba45878
commit 140a365806
15 changed files with 676 additions and 3553 deletions
+16
View File
@@ -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