change testoutput format

This commit is contained in:
2021-06-17 19:01:12 +02:00
parent 3d0e602ee6
commit b30e587c34
2 changed files with 17 additions and 7 deletions

View File

@ -21,9 +21,9 @@ paths:
'200':
description: secret response
content:
'text/plain':
'application/json':
schema:
type: string
$ref: '#/components/schemas/TestOutput'
security:
- jwt: ['secret']
@ -35,3 +35,12 @@ components:
scheme: bearer
bearerFormat: JWT
x-bearerInfoFunc: auth.decodeToken
schemas:
TestOutput:
description: Test Output
type: object
properties:
message:
type: string
details:
type: object