diff options
author | Wicklow <wicklow@framasoft.org> | 2023-02-23 15:40:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-02-23 16:07:44 +0100 |
commit | 700e24197a261966369b5357239aa93f429478d7 (patch) | |
tree | 2610131c715717bfe5c55d98ac4616a3c06d85e4 | |
parent | 16ccb43767c45e74877ab7beaa4adb61a404c128 (diff) | |
download | PeerTube-700e24197a261966369b5357239aa93f429478d7.tar.gz PeerTube-700e24197a261966369b5357239aa93f429478d7.tar.zst PeerTube-700e24197a261966369b5357239aa93f429478d7.zip |
Add missing requirements on email in OpenAPI
-rw-r--r-- | support/doc/api/openapi.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index d9e91c131..a63694211 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1417,6 +1417,8 @@ paths: | |||
1417 | email: | 1417 | email: |
1418 | type: string | 1418 | type: string |
1419 | description: User email | 1419 | description: User email |
1420 | required: | ||
1421 | |||
1420 | responses: | 1422 | responses: |
1421 | '204': | 1423 | '204': |
1422 | description: successful operation | 1424 | description: successful operation |
@@ -1436,6 +1438,8 @@ paths: | |||
1436 | email: | 1438 | email: |
1437 | type: string | 1439 | type: string |
1438 | description: Registration email | 1440 | description: Registration email |
1441 | required: | ||
1442 | |||
1439 | responses: | 1443 | responses: |
1440 | '204': | 1444 | '204': |
1441 | description: successful operation | 1445 | description: successful operation |