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: Fix schema for unread_msgs in /register.

Suyash Vardhan Mathur9840803c0001
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index f555d71286e..0947c0dd45c 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -6392,7 +6392,14 @@ paths:
the 50000 most recent unread messages the user has received. This will usually
contain every unread message the user has received, but clients should support
users with even more unread messages (and not hardcode the number 50000).
+ additionalProperties: false
properties:
+ count:
+ type: integer
+ description: |
+ The total number of unread messages to display; this includes private
+ and group private messages, as well as all messags to unmuted topics
+ on unmuted streams.
pms:
type: array
description: |