mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
api docs: Specify array types.
This commit is contained in:
committed by
Tim Abbott
parent
d45fac0327
commit
586e013069
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user