Rename the example

This commit is contained in:
Travis Ralston 2025-09-11 20:49:33 -06:00
parent a678f0b52b
commit 86358e7e17
4 changed files with 6 additions and 6 deletions

View file

@ -98,7 +98,7 @@ paths:
version - check the [room version specification](/rooms) for
precise event formats.
example:
$ref: ./examples/stripped_state.json
$ref: ./examples/invite_or_knock_state.json
type: object
required: true
responses:
@ -139,7 +139,7 @@ paths:
"origin_server_ts": 1549041175876,
"sender": "@someone:example.org",
"unsigned": {
"invite_room_state": {"$ref": "./examples/stripped_state.json"}
"invite_room_state": {"$ref": "./examples/invite_or_knock_state.json"}
},
"content": {
"membership": "invite"

View file

@ -99,7 +99,7 @@ paths:
version - check the [room version specification](/rooms) for
precise event formats.
example:
$ref: ./examples/stripped_state.json
$ref: ./examples/invite_or_knock_state.json
required:
- room_version
- event
@ -132,7 +132,7 @@ paths:
"origin_server_ts": 1549041175876,
"sender": "@someone:example.org",
"unsigned": {
"invite_room_state": {"$ref": "./examples/stripped_state.json"}
"invite_room_state": {"$ref": "./examples/invite_or_knock_state.json"}
},
"content": {
"membership": "invite"

View file

@ -319,14 +319,14 @@ paths:
version - check the [room version specification](/rooms) for
precise event formats.
example:
"$ref": "./examples/stripped_state.json"
"$ref": "./examples/invite_or_knock_state.json"
required:
- knock_room_state
examples:
response:
value: {
"knock_room_state": {
"$ref": "./examples/stripped_state.json"
"$ref": "./examples/invite_or_knock_state.json"
}
}
"403":