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.

api-docs: Tweak display_recipient rendered descriptions.

Lauryn Menard6a7d847168d3
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 68090df5c11..5eb2f30e5dd 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -28328,9 +28328,16 @@ components:
See the help center article on [message formatting](/help/format-your-message-using-markdown) for details on Zulip-flavored Markdown.
display_recipient:
+ description: |
+ Data on the recipient of the message. Will be one of the following:
oneOf:
- type: string
+ description: |
+ The name of the channel the message was received in.
- type: array
+ description: |
+ An array of dictionaries containing basic data on the users who
+ received the message.
items:
type: object
additionalProperties: false
@@ -28351,10 +28358,6 @@ components:
type: boolean
description: |
Whether the user is a mirror dummy.
- description: |
- Data on the recipient of the message;
- either the name of a channel or a dictionary containing basic data on
- the users who received the message.
edit_history:
type: array
items: