From df0604f182e6e0b6970972cdaf2993789d1cd3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Tue, 26 Oct 2021 21:55:05 +0200 Subject: [PATCH] fix(docs): set a schema for /logout responses * this remedies an OpenAPI syntax violation resulting in a redoc-cli crash --- api/mailinabox.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/mailinabox.yml b/api/mailinabox.yml index bd4b203b..6e289f30 100644 --- a/api/mailinabox.yml +++ b/api/mailinabox.yml @@ -110,6 +110,8 @@ paths: description: Successful operation content: application/json: + schema: + $ref: '#/components/schemas/LogoutResponse' /system/status: post: tags: @@ -2723,3 +2725,8 @@ components: nullable: true MfaDisableSuccessResponse: type: string + LogoutResponse: + type: object + properties: + status: + type: string