Try & make example closer to valid

pull/977/head
David Baker 8 years ago
parent 41781e95b2
commit 595b75f299

@ -65,7 +65,8 @@ paths:
application/json: |- application/json: |-
{ {
"next_token": "abcdef", "next_token": "abcdef",
"notifications": { "notifications": [
{
"actions": [ "actions": [
"notify" "notify"
], ],
@ -74,8 +75,19 @@ paths:
"room_id": "!abcdefg:example.com", "room_id": "!abcdefg:example.com",
"ts": "1475508881945", "ts": "1475508881945",
"event": { "event": {
"sender": "@alice:example.com",
"type": "m.room.message",
"age": 124524,
"txn_id": "1234",
"content": {
"body": "I am a fish",
"msgtype": "m.text"
},
"origin_server_ts": 1417731086797,
"event_id": "$74686972643033:example.com"
} }
} }
]
} }
schema: schema:
type: object type: object

Loading…
Cancel
Save