2
0
Эх сурвалжийг харах

[Swagger] Fix type property for /api/v1/add/bcc endpoint

FreddleSpl0it 5 сар өмнө
parent
commit
21b11ed999

+ 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