]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add missing requirements on email in OpenAPI
authorWicklow <wicklow@framasoft.org>
Thu, 23 Feb 2023 14:40:13 +0000 (15:40 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Thu, 23 Feb 2023 15:07:44 +0000 (16:07 +0100)
support/doc/api/openapi.yaml

index d9e91c131b459b9bdf43c607974a1b8954e39370..a63694211e51059a32c7ead8ef494cc9181a36a6 100644 (file)
@@ -1417,6 +1417,8 @@ paths:
                 email:
                   type: string
                   description: User email
+              required:
+                - email
       responses:
         '204':
           description: successful operation
@@ -1436,6 +1438,8 @@ paths:
                 email:
                   type: string
                   description: Registration email
+              required:
+                - email
       responses:
         '204':
           description: successful operation