From 86067be1425cb7df60c347dc1998ce9fc533acdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Wed, 27 Oct 2021 18:27:54 +0200 Subject: [PATCH] fix(docs): set a schema for /logout responses (#2051) * 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