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
1 changed files with 7 additions and 0 deletions

View File

@ -110,6 +110,8 @@ paths:
description: Successful operation description: Successful operation
content: content:
application/json: application/json:
schema:
$ref: '#/components/schemas/LogoutResponse'
/system/status: /system/status:
post: post:
tags: tags:
@ -2723,3 +2725,8 @@ components:
nullable: true nullable: true
MfaDisableSuccessResponse: MfaDisableSuccessResponse:
type: string type: string
LogoutResponse:
type: object
properties:
status:
type: string