1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

fix(docs): set a schema for /logout responses (#2051)

* this remedies an OpenAPI syntax violation resulting in a redoc-cli crash
This commit is contained in:
Felix Spöttel
2021-10-27 18:27:54 +02:00
committed by GitHub
parent c67ff241c4
commit 86067be142

View File

@@ -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