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: Mark "name" required for new channel folder.

Lauryn Menard451e64b3e671
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index cc15277b793..bbb2fbf1c15 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -24848,6 +24848,8 @@ paths:
Clients should use the `max_channel_folder_name_length` returned
by the [`POST /register`](/api/register-queue) endpoint to determine
the maximum channel folder name length.
+
+ Value cannot be an empty string.
type: string
example: marketing
description:
@@ -24859,6 +24861,8 @@ paths:
to determine the maximum channel folder description length.
type: string
example: Channels for marketing.
+ required:
+ - name
responses:
"200":
description: |
@@ -25055,6 +25059,8 @@ paths:
Clients should use the `max_channel_folder_name_length` returned
by the [`POST /register`](/api/register-queue) endpoint to determine
the maximum channel folder name length.
+
+ Value cannot be an empty string.
type: string
example: backend
description: