Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
openapi: Fix ‘to’ parameter schema.
Anders Kaseorga1de8d95a8f2
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 3e470bd18a3..ee8a3eb7cd2 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -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: 1example: [9, 10]required: true- $ref: "#/components/parameters/RequiredContent"