From 451e64b3e671f034ef23764c459bf2f9b88d480b Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Wed, 13 Aug 2025 13:15:48 +0200 Subject: [PATCH] api-docs: Mark "name" required for new channel folder. Also, note that an empty string for the "name" parameter, when creating or updating a channel folder, is not a valid value. --- zerver/openapi/zulip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index cc15277b79..bbb2fbf1c1 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: