1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-24 02:37:05 +00: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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