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: Improve description for `default_group_name` field.

Sahil Batra8c7628fbc46d
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 4fb8670d859..f364fde43ef 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -27975,7 +27975,18 @@ components:
default_group_name:
type: string
description: |
- Name of the default group for the setting.
+ Name of the default system group for the setting.
+
+ For some channel settings, this can also be `stream_creator_or_nobody`.
+ In that case:
+
+ - If the channel's [`creator_id`][channel-response] is not `null`, default for the
+ setting is an anonymous group with the channel creator as
+ the only member.
+ - If the channel's [`creator_id`][channel-response] is `null`, default for the setting
+ is `role:nobody` system group.
+
+ [channel-response]: /api/get-stream-by-id#response
default_for_system_groups:
type: string
nullable: true