From 0d2f578fcd3047b271e4544f3bdba8f59234f31c Mon Sep 17 00:00:00 2001
From: ntimo <git@nowitzki.me>
Date: Mon, 30 Nov 2020 15:29:21 +0000
Subject: [PATCH] [Api docs] Fixed rate limit examples

---
 data/web/api/openapi.yaml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml
index 5024cfea..a87743dd 100644
--- a/data/web/api/openapi.yaml
+++ b/data/web/api/openapi.yaml
@@ -783,13 +783,15 @@ paths:
                   properties:
                     active:
                       description: is the domain admin active or not
-                      type: array
+                      type: boolean
                     username_new:
                       description: the username of the domain admin, change this to change the username
                       type: string
                     domains:
                       description: a list of all domains managed by this domain admin
                       type: array
+                      items:
+                        type: string
                     password:
                       description: the new domain admin user password
                       type: string
@@ -4728,9 +4730,10 @@ paths:
             schema:
               example:
                 attr:
-                  - rl_vlaue: "10"
-                    rl_frame: "h"
-                items: info@domain.tld
+                  rl_vlaue: "10"
+                  rl_frame: "h"
+                items:
+                  - info@domain.tld
               properties:
                 attr:
                   properties:
@@ -4798,9 +4801,10 @@ paths:
             schema:
               example:
                 attr:
-                  - rl_vlaue: "10"
-                    rl_frame: "h"
-                items: domain.tld
+                  rl_vlaue: "10"
+                  rl_frame: "h"
+                items:
+                  - domain.tld
               properties:
                 attr:
                   properties: