Rename example to invite_room_state
This is a better representation of what it actually is
This commit is contained in:
parent
237d585e07
commit
0b45f3795b
4 changed files with 5 additions and 5 deletions
|
@ -84,7 +84,7 @@ paths:
|
||||||
items:
|
items:
|
||||||
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
||||||
example:
|
example:
|
||||||
$ref: "../../event-schemas/examples/stripped_state.json"
|
$ref: "../../event-schemas/examples/invite_room_state.json"
|
||||||
example: {
|
example: {
|
||||||
"$ref": "examples/minimal_pdu.json",
|
"$ref": "examples/minimal_pdu.json",
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
|
@ -135,7 +135,7 @@ paths:
|
||||||
"sender": "@someone:example.org",
|
"sender": "@someone:example.org",
|
||||||
"unsigned": {
|
"unsigned": {
|
||||||
"invite_room_state": {
|
"invite_room_state": {
|
||||||
"$ref": "../../../event-schemas/examples/stripped_state.json"
|
"$ref": "../../../event-schemas/examples/invite_room_state.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
|
|
|
@ -85,7 +85,7 @@ paths:
|
||||||
items:
|
items:
|
||||||
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
||||||
example:
|
example:
|
||||||
$ref: "../../event-schemas/examples/stripped_state.json"
|
$ref: "../../event-schemas/examples/invite_room_state.json"
|
||||||
required: ['room_version', 'event']
|
required: ['room_version', 'event']
|
||||||
example: {
|
example: {
|
||||||
"room_version": "2",
|
"room_version": "2",
|
||||||
|
@ -131,7 +131,7 @@ paths:
|
||||||
"sender": "@someone:example.org",
|
"sender": "@someone:example.org",
|
||||||
"unsigned": {
|
"unsigned": {
|
||||||
"invite_room_state": {
|
"invite_room_state": {
|
||||||
"$ref": "../../../event-schemas/examples/stripped_state.json"
|
"$ref": "../../../event-schemas/examples/invite_room_state.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"unsigned": {
|
"unsigned": {
|
||||||
"age": 1234,
|
"age": 1234,
|
||||||
"invite_room_state": {
|
"invite_room_state": {
|
||||||
"$ref": "stripped_state.json"
|
"$ref": "invite_room_state.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue