소스 검색

Merge pull request #4590 from FreddleSpl0it/swagger-appPasswd

Niklas Meyer 3 년 전
부모
커밋
f79cac3292
1개의 변경된 파일16개의 추가작업 그리고 2개의 파일을 삭제
  1. 16 2
      data/web/api/openapi.yaml

+ 16 - 2
data/web/api/openapi.yaml

@@ -209,10 +209,17 @@ paths:
                         - app_passwd
                         - app_passwd
                         - add
                         - add
                         - active: "1"
                         - active: "1"
-                          app_name: emclient
+                          username: info@domain.tld
+                          app_name: wordpress
                           app_passwd: keyleudecticidechothistishownsan31
                           app_passwd: keyleudecticidechothistishownsan31
                           app_passwd2: keyleudecticidechothistishownsan31
                           app_passwd2: keyleudecticidechothistishownsan31
-                          username: hello@mailcow.email
+                          protocols:
+                            - imap_access
+                            - dav_access
+                            - smtp_access
+                            - eas_access
+                            - pop3_access
+                            - sieve_access
                       msg: app_passwd_added
                       msg: app_passwd_added
                       type: success
                       type: success
               schema:
               schema:
@@ -249,6 +256,13 @@ paths:
                 app_name: wordpress
                 app_name: wordpress
                 app_passwd: keyleudecticidechothistishownsan31
                 app_passwd: keyleudecticidechothistishownsan31
                 app_passwd2: keyleudecticidechothistishownsan31
                 app_passwd2: keyleudecticidechothistishownsan31
+                protocols:
+                  - imap_access
+                  - dav_access
+                  - smtp_access
+                  - eas_access
+                  - pop3_access
+                  - sieve_access
               properties:
               properties:
                 active:
                 active:
                   description: is alias active or not
                   description: is alias active or not