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:
Kévin Commaille 2023-07-04 20:32:47 +02:00 committed by GitHub
parent 6521411547
commit bed9223610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 17 additions and 15 deletions

View file

@ -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: