mirror of https://github.com/zulip/zulip.git
openapi: Fix ‘to’ parameter schema.
The previous schema incorrectly prohibited the string, integer, and string-array forms that we do in fact accept. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
a5a12398fe
commit
a1de8d95a8
|
@ -5332,9 +5332,16 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
oneOf:
|
||||
- type: string
|
||||
- type: integer
|
||||
- type: array
|
||||
items:
|
||||
type: string
|
||||
- type: array
|
||||
items:
|
||||
type: integer
|
||||
minLength: 1
|
||||
example: [9, 10]
|
||||
required: true
|
||||
- $ref: "#/components/parameters/RequiredContent"
|
||||
|
|
Loading…
Reference in New Issue