Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
openapi: Fix ‘narrow’ parameter schema.
Anders Kaseorga5a12398fe50
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 3c9be156f9d..3e470bd18a3 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -5073,7 +5073,29 @@ paths:schema:type: arrayitems:- type: object+ oneOf:+ - type: object+ required:+ - operator+ - operand+ additionalProperties: false+ properties:+ operator:+ type: string+ operand:+ oneOf:+ - type: string+ - type: integer+ - type: array+ items:+ type: integer+ negated:+ type: boolean+ - type: array+ items:+ type: string+ minItems: 2+ maxItems: 2default: []example: [{"operand": "Denmark", "operator": "stream"}]- $ref: "#/components/parameters/ClientGravatar"