Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make event's title fields UpperCamelCase and distinguish /sync ones #2647

Merged
merged 1 commit into from
Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/server-server/definitions/invite_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2647.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve consistency and clarity of event schema ``title``s.
2 changes: 1 addition & 1 deletion event-schemas/schema/core-event-schema/room_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ properties:
type: string
required:
- room_id
title: Room Event
title: RoomEvent
type: object
2 changes: 1 addition & 1 deletion event-schemas/schema/core-event-schema/state_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ required:
- event_id
- sender
- origin_server_ts
title: Room Event
title: SyncRoomEvent
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ properties:
type: string
required:
- state_key
title: State Event
title: SyncStateEvent
type: object