From 5931ebffd232b58a83683912f4759ac25b3e19c4 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 14 Aug 2020 13:55:38 +0000 Subject: [PATCH] openapi: Use enum for message_type. --- zerver/openapi/zulip.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 81eb7a93c1..2e89d73731 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -1707,6 +1707,9 @@ paths: The type of message. Either 'stream' or 'private'. The other keys present in the event, necessary to update various frontend data structures that might be tracking the message, depend on the message type. + enum: + - private + - stream recipient_id: type: integer description: |