Rename example to invite_room_state

This is a better representation of what it actually is
This commit is contained in:
Travis Ralston 2019-06-02 18:02:22 -06:00
parent 237d585e07
commit 0b45f3795b
4 changed files with 5 additions and 5 deletions

View file

@ -84,7 +84,7 @@ paths:
items:
$ref: "../../event-schemas/schema/stripped_state.yaml"
example:
$ref: "../../event-schemas/examples/stripped_state.json"
$ref: "../../event-schemas/examples/invite_room_state.json"
example: {
"$ref": "examples/minimal_pdu.json",
"type": "m.room.member",
@ -135,7 +135,7 @@ paths:
"sender": "@someone:example.org",
"unsigned": {
"invite_room_state": {
"$ref": "../../../event-schemas/examples/stripped_state.json"
"$ref": "../../../event-schemas/examples/invite_room_state.json"
}
},
"content": {

View file

@ -85,7 +85,7 @@ paths:
items:
$ref: "../../event-schemas/schema/stripped_state.yaml"
example:
$ref: "../../event-schemas/examples/stripped_state.json"
$ref: "../../event-schemas/examples/invite_room_state.json"
required: ['room_version', 'event']
example: {
"room_version": "2",
@ -131,7 +131,7 @@ paths:
"sender": "@someone:example.org",
"unsigned": {
"invite_room_state": {
"$ref": "../../../event-schemas/examples/stripped_state.json"
"$ref": "../../../event-schemas/examples/invite_room_state.json"
}
},
"content": {

View file

@ -8,7 +8,7 @@
"unsigned": {
"age": 1234,
"invite_room_state": {
"$ref": "stripped_state.json"
"$ref": "invite_room_state.json"
}
}
}