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.

Sahil Batra73d17cf92491
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index 2e15f94538a..06bf2367902 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -685,9 +685,9 @@ group DM conversations.
**Feature level 427**
-* [`POST /register`](/api/register-queue): `stream_creator_or_nobody`
+* [`POST /register`](/api/register-queue): `"stream_creator_or_nobody"`
value for `default_group_name` field in `server_supported_permission_settings`
- object is renamed to `channel_creator`.
+ object is renamed to `"channel_creator"`.
**Feature level 426**
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 26189b8bb30..8bdba457164 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -29767,7 +29767,11 @@ components:
description: |
Name of the default system group for the setting.
- For some channel settings, this can also be `channel_creator`.
+ For some group settings, this can be `"group_creator"`. In that
+ case, the default for the setting is an anonymous group whose
+ only member is the group's creator.
+
+ For some channel settings, this can be `"channel_creator"`.
In that case:
- If the channel's [`creator_id`][channel-response] is not `null`, default for the
@@ -29777,7 +29781,7 @@ components:
is `role:nobody` system group.
**Changes**: In Zulip 12.0 (feature level 427), renamed
- `stream_creator_or_nobody` value to `channel_creator`.
+ `"stream_creator_or_nobody"` value to `"channel_creator"`.
[channel-response]: /api/get-stream-by-id#response
default_for_system_groups: