api docs: Specify array types.

This commit is contained in:
Yago González 2018-06-21 02:18:05 +02:00 committed by Tim Abbott
parent d45fac0327
commit 586e013069
1 changed files with 4 additions and 0 deletions

View File

@ -626,6 +626,8 @@ paths:
in our Python API."
schema:
type: array
items:
type: object
example: [{"name": "Verona"}]
required: true
- name: invite_only
@ -652,6 +654,8 @@ paths:
If not provided, then the requesting user/bot is subscribed.
schema:
type: array
items:
type: string
default: []
example: ['ZOE@zulip.com']
- name: authorization_errors_fatal