Fix schema definitions (spelling, attributes)

pull/1406/head
Travis Ralston 6 years ago
parent 89384c96c1
commit 21c4af70a9

@ -24,14 +24,17 @@ properties:
type: string
description: The type of ephemeral message.
example: "m.presence"
required: true
origin:
type: string
description: The server name sending the ephemeral message.
example: "matrix.org"
example: "matrix.org"
required: true
destination:
type: string
description: The server name receiving the ephemeral message.
example: "elsewhere.com"
required: true
content:
type: object
description: The content of the ephemeral message.

@ -20,7 +20,7 @@ properties:
origin:
type: string
description: |-
The ``server_name`` of the hoemserver sending this transaction.
The ``server_name`` of the homeserver sending this transaction.
example: "example.org"
origin_server_ts:
type: integer

@ -37,7 +37,6 @@ properties:
type:
type: string
description: Event type
required: true
example: "m.room.message"
state_key:
type: string

@ -65,7 +65,7 @@ paths:
description: |-
Retreives a sliding-window history of previous PDUs that occurred in the given room.
Starting from the PDU ID(s) given in the ``v`` argument, the PDUs that preceded it
are retrived, up to the total number given by the ``limit``.
are retrieved, up to the total number given by the ``limit``.
operationId: backfillRoom
parameters:
- in: path
@ -84,7 +84,7 @@ paths:
name: limit
type: integer
description: The maximum number of events to retrieve.
required: true # TODO: Verify
required: true
x-example: 10
responses:
200:

Loading…
Cancel
Save