浏览代码

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 4 年之前
父节点
当前提交
a3166b5d17
共有 1 个文件被更改,包括 11 次插入7 次删除
  1. 11 7
      data/web/api/openapi.yaml

+ 11 - 7
data/web/api/openapi.yaml

@@ -783,13 +783,15 @@ paths:
                   properties:
                   properties:
                     active:
                     active:
                       description: is the domain admin active or not
                       description: is the domain admin active or not
-                      type: array
+                      type: boolean
                     username_new:
                     username_new:
                       description: the username of the domain admin, change this to change the username
                       description: the username of the domain admin, change this to change the username
                       type: string
                       type: string
                     domains:
                     domains:
                       description: a list of all domains managed by this domain admin
                       description: a list of all domains managed by this domain admin
                       type: array
                       type: array
+                      items:
+                        type: string
                     password:
                     password:
                       description: the new domain admin user password
                       description: the new domain admin user password
                       type: string
                       type: string
@@ -4728,9 +4730,10 @@ paths:
             schema:
             schema:
               example:
               example:
                 attr:
                 attr:
-                  - rl_vlaue: "10"
-                    rl_frame: "h"
-                items: info@domain.tld
+                  rl_vlaue: "10"
+                  rl_frame: "h"
+                items:
+                  - info@domain.tld
               properties:
               properties:
                 attr:
                 attr:
                   properties:
                   properties:
@@ -4798,9 +4801,10 @@ paths:
             schema:
             schema:
               example:
               example:
                 attr:
                 attr:
-                  - rl_vlaue: "10"
-                    rl_frame: "h"
-                items: domain.tld
+                  rl_vlaue: "10"
+                  rl_frame: "h"
+                items:
+                  - domain.tld
               properties:
               properties:
                 attr:
                 attr:
                   properties:
                   properties: