Ver Fonte

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

FreddleSpl0it há 5 meses atrás
pai
commit
21b11ed999
1 ficheiros alterados com 2 adições e 1 exclusões
  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