Update room_event_filter.yaml to use the OpenAPI allOf definition

This is just maintenance.
pull/977/head
Travis Ralston 6 years ago
parent 7d08ef73d0
commit 97e3dd443b

@ -13,23 +13,23 @@
# limitations under the License. # limitations under the License.
allOf: allOf:
- $ref: event_filter.yaml - $ref: event_filter.yaml
title: RoomEventFilter - type: object
properties: title: RoomEventFilter
not_rooms: properties:
description: A list of room IDs to exclude. If this list is absent then no rooms not_rooms:
are excluded. A matching room will be excluded even if it is listed in the ``'rooms'`` description: A list of room IDs to exclude. If this list is absent then no rooms
filter. are excluded. A matching room will be excluded even if it is listed in the ``'rooms'``
items: filter.
type: string items:
type: array type: string
rooms: type: array
description: A list of room IDs to include. If this list is absent then all rooms rooms:
are included. description: A list of room IDs to include. If this list is absent then all rooms
items: are included.
type: string items:
type: array type: string
contains_url: type: array
type: boolean contains_url:
type: boolean
description: If ``true``, includes only events with a url key in their content. If description: If ``true``, includes only events with a url key in their content. If
``false``, excludes those events. ``false``, excludes those events.
type: object

Loading…
Cancel
Save