Răsfoiți Sursa

Merge pull request #6408 from mailcow/fix/6373

[Swagger] Fix type property for /api/v1/add/bcc endpoint
FreddleSpl0it 5 luni în urmă
părinte
comite
b550c6f88e
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      data/web/api/openapi.yaml

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

@@ -346,7 +346,8 @@ paths:
                   description: the domain which emails should be forwarded
                   type: string
                 type:
-                  description: the type of bcc map can be `sender` or `recipient`
+                  description: the type of bcc map can be `sender` or `rcpt`
+                  enum: [sender, rcpt]
                   type: string
               type: object
       summary: Create BCC Map