diff --git a/api/client-server/administrative_contact.yaml b/api/client-server/administrative_contact.yaml index c19872e88..f0a867622 100644 --- a/api/client-server/administrative_contact.yaml +++ b/api/client-server/administrative_contact.yaml @@ -132,8 +132,7 @@ paths: } responses: 200: - description: |- - The addition was successful. + description: The addition was successful. examples: application/json: { "submit_url": "https://example.org/path/to/submitToken" @@ -257,11 +256,10 @@ paths: responses: 200: description: |- - An email was sent to the given address. - Note that this may be an email containing the validation token or - it may be informing the user of an error. + An email was sent to the given address. Note that this may be an + email containing the validation token or it may be informing the + user of an error. schema: - type: object $ref: "definitions/sid.yaml" 403: description: |- @@ -316,10 +314,8 @@ paths: required: ['id_server'] responses: 200: - description: |- - A SMS message was sent to the given phone number. + description: A SMS message was sent to the given phone number. schema: - type: object $ref: "definitions/sid.yaml" 403: description: |- diff --git a/api/client-server/registration.yaml b/api/client-server/registration.yaml index 4ea8b2521..c892b08d6 100644 --- a/api/client-server/registration.yaml +++ b/api/client-server/registration.yaml @@ -237,11 +237,10 @@ paths: responses: 200: description: |- - An email has been sent to the specified address. - Note that this may be an email containing the validation token or it may be informing - the user of an error. + An email has been sent to the specified address. Note that this + may be an email containing the validation token or it may be + informing the user of an error. schema: - type: object $ref: "definitions/sid.yaml" 403: description: The homeserver does not permit the address to be bound. @@ -301,11 +300,10 @@ paths: responses: 200: description: |- - A SMS message has been sent to the specified phone number. Note + A SMS message has been sent to the specified phone number. Note that this may be an SMS message containing the validation token or it may be informing the user of an error. schema: - type: object $ref: "definitions/sid.yaml" 403: description: The homeserver does not permit the address to be bound. @@ -435,7 +433,6 @@ paths: 200: description: An email was sent to the given address. schema: - type: object $ref: "definitions/sid.yaml" 403: description: |- @@ -506,7 +503,6 @@ paths: 200: description: A SMS message was sent to the given phone number. schema: - type: object $ref: "definitions/sid.yaml" 403: description: |-