Remove overridden references to examples/minimal_pdu.json
and add the missing room_id
field. (#1454)
The syntax is incorrect and would require to use allOf because a $ref can't have siblings. However the only field not overwritten of that definition is room_id, so we include it instead of the $ref Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
77d0f20226
commit
427f472331
8 changed files with 13 additions and 12 deletions
|
@ -85,7 +85,7 @@ paths:
|
|||
example:
|
||||
$ref: "../../event-schemas/examples/invite_room_state.json"
|
||||
example: {
|
||||
"$ref": "examples/minimal_pdu.json",
|
||||
"room_id": "!somewhere:example.org",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@joe:elsewhere.com",
|
||||
"origin": "example.org",
|
||||
|
@ -126,7 +126,7 @@ paths:
|
|||
200,
|
||||
{
|
||||
"event": {
|
||||
"$ref": "examples/minimal_pdu.json",
|
||||
"room_id": "!somewhere:example.org",
|
||||
"type": "m.room.member",
|
||||
"state_key": "@someone:example.org",
|
||||
"origin": "example.org",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue