Make sure examples types match schema in definitions (#1563)
* Make sure examples types match schema in definitions Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelogs Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add double quotes around URL Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
6521411547
commit
bed9223610
13 changed files with 17 additions and 15 deletions
|
@ -109,7 +109,6 @@ paths:
|
|||
- depth
|
||||
- content
|
||||
example: {
|
||||
"room_id": "!somewhere:example.org",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"origin": "example.org",
|
||||
|
@ -117,7 +116,8 @@ paths:
|
|||
"sender": "@someone:example.org",
|
||||
"content": {
|
||||
"membership": "leave"
|
||||
}
|
||||
},
|
||||
"depth": 0
|
||||
}
|
||||
required: true
|
||||
responses:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue