Mark booleans as required. Remove mention that things may be null
This commit is contained in:
parent
e8b21f357f
commit
06649b652d
1 changed files with 8 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue