From cac8bcbc899ca41c1be91a769740c57e6b099132 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 16 Nov 2021 13:06:43 -0800 Subject: [PATCH] api docs: Fix incorrect realm_ prefixes in update_dict field names. Neither of these fields use the `realm/update_dict` event type; they use `realm/update`; we've attempted to clarify that in the previous commit. That reality means we don't have automated testing for these values, and that meant that typos like these could slip through. --- zerver/openapi/zulip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 6ddd9a43d5..dadbdd96e4 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -3463,7 +3463,7 @@ paths: type: string description: | The description of the organization, used on login and registration pages. - realm_giphy_rating: + giphy_rating: type: integer description: | Maximum rating of the GIFs that will be retrieved from GIPHY. @@ -3513,7 +3513,7 @@ paths: type: boolean description: | Whether [topics are required](/help/require-topics) for messages in this organization. - realm_name: + name: type: string description: | The name of the organization, used in login pages etc.