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

pull/977/head
Erik Johnston 8 years ago
parent e8b21f357f
commit 06649b652d

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

Loading…
Cancel
Save