change response of edit domain to array

This commit is contained in:
Lars With 2022-07-14 13:09:18 +02:00
parent a4be13828b
commit 692384e21b
1 changed files with 18 additions and 16 deletions

View File

@ -2987,23 +2987,25 @@ paths:
$ref: "#/components/responses/Unauthorized" $ref: "#/components/responses/Unauthorized"
"200": "200":
content: content:
"*/*": application/json:
schema: schema:
properties: type: array
log: items:
description: contains request object type: object
items: {} properties:
type: array log:
msg: description: contains request object
items: {} items: {}
type: array type: array
type: msg:
enum: items: {}
- success type: array
- danger type:
- error enum:
type: string - success
type: object - danger
- error
type: string
description: OK description: OK
headers: {} headers: {}
tags: tags: