From 90e8e57b3fe7647d31e14662ef1c42e039e1107a Mon Sep 17 00:00:00 2001 From: Alexander Nikitin Date: Tue, 2 Jan 2024 21:18:02 +0300 Subject: [PATCH] fix(docs): fix invalid json in api payload examples (#1466) --- src/shadowbox/server/api.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shadowbox/server/api.yml b/src/shadowbox/server/api.yml index 60db5cf82..452da31d5 100644 --- a/src/shadowbox/server/api.yml +++ b/src/shadowbox/server/api.yml @@ -47,7 +47,7 @@ paths: type: string examples: 'hostname': - value: '{"hostname": www.example.org}' + value: '{"hostname": "www.example.org"}' 'IP address': value: '{"hostname": "127.0.0.1"}' responses: @@ -278,7 +278,7 @@ paths: type: string examples: '0': - value: '{name: "New Key Name"}' + value: '{"name": "New Key Name"}' responses: '204': description: Access key renamed successfully