From ff26e0dc48ec2f91993b3c000593fb52741f3003 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Jan 2016 18:31:09 +0000 Subject: [PATCH] Add some missing titles to the filter upload spec --- api/client-server/definitions/event_filter.yaml | 1 + api/client-server/definitions/room_event_filter.yaml | 1 + api/client-server/definitions/sync_filter.yaml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/api/client-server/definitions/event_filter.yaml b/api/client-server/definitions/event_filter.yaml index 8bedacb2..df872af4 100644 --- a/api/client-server/definitions/event_filter.yaml +++ b/api/client-server/definitions/event_filter.yaml @@ -1,3 +1,4 @@ +title: Filter properties: limit: description: The maximum number of events to return. diff --git a/api/client-server/definitions/room_event_filter.yaml b/api/client-server/definitions/room_event_filter.yaml index 0ad1ae33..afd407de 100644 --- a/api/client-server/definitions/room_event_filter.yaml +++ b/api/client-server/definitions/room_event_filter.yaml @@ -1,5 +1,6 @@ allOf: - $ref: event_filter.yaml +title: RoomEventFilter properties: not_rooms: description: A list of room IDs to exclude. If this list is absent then no rooms diff --git a/api/client-server/definitions/sync_filter.yaml b/api/client-server/definitions/sync_filter.yaml index 09307c99..b3d1cd84 100644 --- a/api/client-server/definitions/sync_filter.yaml +++ b/api/client-server/definitions/sync_filter.yaml @@ -25,6 +25,8 @@ properties: - $ref: event_filter.yaml description: The user account data that isn't associated with rooms to include. room: + title: RoomFilter + description: Filters to be applied to room data. properties: not_rooms: description: A list of room IDs to exclude. If this list is absent then no rooms