NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Api docs] Fixed rate limit examples

0d2f578f
ntimo <[email protected]> 6 years ago
data/web/api/openapi.yaml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Diff

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: [email protected]
+                  rl_vlaue: "10"
+                  rl_frame: "h"
+                items:
+                  - [email protected]
               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: