Add response section otherwise the checker fails

This commit is contained in:
David Baker 2016-07-07 15:00:27 +01:00
parent d74a320edd
commit 191cb08a3a
2 changed files with 6 additions and 0 deletions

View file

@ -128,3 +128,6 @@ paths:
with an account on this Home Server. This API should be used to request with an account on this Home Server. This API should be used to request
validation tokens when adding an email address to an account. This API validation tokens when adding an email address to an account. This API
behaves identically to `/register/email/requestToken` behaves identically to `/register/email/requestToken`
responses:
200:
description: An email was sent to the given address

View file

@ -255,3 +255,6 @@ paths:
returned if no account matching the given email address could be found. returned if no account matching the given email address could be found.
The server may instead send an email to the given address prompting The server may instead send an email to the given address prompting
the user to create an account. `M_THREEPID_IN_USE` may not be returned. the user to create an account. `M_THREEPID_IN_USE` may not be returned.
responses:
200:
description: An email was sent to the given address