From 692384e21b6dad5fcfeab8b5be572404981dce5b Mon Sep 17 00:00:00 2001 From: Lars With Date: Thu, 14 Jul 2022 13:09:18 +0200 Subject: [PATCH] change response of edit domain to array --- data/web/api/openapi.yaml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml index a7cdefca..4ad90c55 100644 --- a/data/web/api/openapi.yaml +++ b/data/web/api/openapi.yaml @@ -2987,23 +2987,25 @@ paths: $ref: "#/components/responses/Unauthorized" "200": content: - "*/*": + application/json: schema: - properties: - log: - description: contains request object - items: {} - type: array - msg: - items: {} - type: array - type: - enum: - - success - - danger - - error - type: string - type: object + type: array + items: + type: object + properties: + log: + description: contains request object + items: {} + type: array + msg: + items: {} + type: array + type: + enum: + - success + - danger + - error + type: string description: OK headers: {} tags: