Merge pull request #2647 from jplatte/event-titles
Make event's title fields UpperCamelCase and distinguish /sync ones
This commit is contained in:
commit
465ed38416
6 changed files with 6 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
type: object
|
||||
title: Invite Event
|
||||
title: InviteEvent
|
||||
description: |-
|
||||
An invite event. Note that events have a different format depending on the
|
||||
room version - check the `room version specification`_ for precise event formats.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Improve consistency and clarity of event schema ``title``s.
|
|
@ -9,5 +9,5 @@ properties:
|
|||
type: string
|
||||
required:
|
||||
- room_id
|
||||
title: Room Event
|
||||
title: RoomEvent
|
||||
type: object
|
||||
|
|
|
@ -2,5 +2,5 @@ allOf:
|
|||
- $ref: room_event.yaml
|
||||
- $ref: sync_state_event.yaml
|
||||
description: State Events have the following fields.
|
||||
title: State Event
|
||||
title: StateEvent
|
||||
type: object
|
||||
|
|
|
@ -39,5 +39,5 @@ required:
|
|||
- event_id
|
||||
- sender
|
||||
- origin_server_ts
|
||||
title: Room Event
|
||||
title: SyncRoomEvent
|
||||
type: object
|
||||
|
|
|
@ -35,5 +35,5 @@ properties:
|
|||
type: string
|
||||
required:
|
||||
- state_key
|
||||
title: State Event
|
||||
title: SyncStateEvent
|
||||
type: object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue