Mark booleans as required. Remove mention that things may be null

This commit is contained in:
Erik Johnston 2016-09-30 14:18:13 +01:00
parent e8b21f357f
commit 06649b652d

View file

@ -67,7 +67,11 @@ paths:
items: items:
type: object type: object
title: "PublicRoomsChunk" title: "PublicRoomsChunk"
required: ["room_id"] required:
- room_id
- num_joined_users
- world_readable
- guest_can_join
properties: properties:
aliases: aliases:
type: array type: array
@ -78,11 +82,11 @@ paths:
canonical_alias: canonical_alias:
type: string type: string
description: |- description: |-
The canonical alias of the room, if any. May be null. The canonical alias of the room, if any.
name: name:
type: string type: string
description: |- description: |-
The name of the room, if any. May be null. The name of the room, if any.
num_joined_members: num_joined_members:
type: number type: number
description: |- description: |-
@ -94,7 +98,7 @@ paths:
topic: topic:
type: string type: string
description: |- description: |-
The topic of the room, if any. May be null. The topic of the room, if any.
world_readable: world_readable:
type: boolean type: boolean
description: |- description: |-