Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

openapi: Use enum for message_type.

Steve Howell5931ebffd232
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 81eb7a93c1f..2e89d73731e 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: |