Browse Source

update OpenAPI schema

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 9 months ago
parent
commit
7feeec6941
1 changed files with 8 additions and 4 deletions
  1. 8 4
      openapi/openapi.yaml

+ 8 - 4
openapi/openapi.yaml

@@ -5466,10 +5466,6 @@ components:
         tls_username:
         tls_username:
           type: string
           type: string
           description: 'defines the TLS certificate field to use as username. For FTP clients it must match the name provided using the "USER" command. For WebDAV, if no username is provided, the CN will be used as username. For WebDAV clients it must match the implicit or provided username. Ignored if mutual TLS is disabled. Currently the only supported value is `CommonName`'
           description: 'defines the TLS certificate field to use as username. For FTP clients it must match the name provided using the "USER" command. For WebDAV, if no username is provided, the CN will be used as username. For WebDAV clients it must match the implicit or provided username. Ignored if mutual TLS is disabled. Currently the only supported value is `CommonName`'
-        tls_certs:
-          type: array
-          items:
-            type: string
         hooks:
         hooks:
           $ref: '#/components/schemas/HooksFilter'
           $ref: '#/components/schemas/HooksFilter'
         disable_fs_checks:
         disable_fs_checks:
@@ -5538,6 +5534,14 @@ components:
               type: array
               type: array
               items:
               items:
                 $ref: '#/components/schemas/RecoveryCode'
                 $ref: '#/components/schemas/RecoveryCode'
+            tls_certs:
+              type: array
+              items:
+                type: string
+            additional_emails:
+              type: array
+              items:
+                type: string
     Secret:
     Secret:
       type: object
       type: object
       properties:
       properties: