Responses schema fixes (#3650)

Fixes #2237.

Corrects the response schemas for:

```
PUT /user/{user_id}/account_data/{account_dataType}
PUT /user/{user_id}/rooms/{roomId}/account_data/{type}
PUT /directory/list/room/{roomId}
PUT /sendToDevice/{eventType}/{txnId}
POST /account/3pid
POST /account/3pid/add
POST /account/3pid/bind
```
This commit is contained in:
Alexandre Franke 2022-01-31 11:31:29 +01:00 committed by GitHub
parent 2e5cc42666
commit d3e39567f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 26 deletions

View file

@ -104,6 +104,8 @@ paths:
description: The visibility was updated, or no change was needed.
examples:
application/json: {}
schema:
type: object
404:
description: The room is not known to the server
examples: