From c5ebb7428026c8cf6fa182127e932c61bc8d164f Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Wed, 18 May 2022 01:35:28 +0200 Subject: [PATCH] api-docs: Fix errors found in audit of 3.0 changelog entries. Initial round of fixes and clean-ups found during audit of changelog entries for feature levels 1-27, which correspond to the 3.0 release. There are a few changes that are not related to those feature levels, but fit within the context of clean-ups (spelling mistakes or errors in api documentation formatting/structure/style). One notable non-3.0 release fix is making all changes notes in the OpenAPI documentation for 2.x releases use the correct version numbering-scheme for those releases (e.g. 2.0.0). Follow-up commits / PRs will address inconsitencies and omissions for these feature levels found during the audit. --- templates/zerver/api/changelog.md | 33 +++---- zerver/openapi/zulip.yaml | 140 ++++++++++++++---------------- 2 files changed, 84 insertions(+), 89 deletions(-) diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md index e981464273..a19e8b3956 100644 --- a/templates/zerver/api/changelog.md +++ b/templates/zerver/api/changelog.md @@ -796,15 +796,15 @@ releases. **Feature level 27** -* The `short_name` field is removed from `display_recipients` - in `POST /users`. +* [`POST /users`](/api/create-user): Removed `short_name` field from + `display_recipient` array objects. **Feature level 26** -* The `sender_short_name` field is no longer included in - `GET /messages`. -* The `short_name` field is removed from `display_recipients` - in `GET /messages`. +* [`GET /messages`](/api/get-messages): `sender_short_name` field is no + longer included in return values for this endpoint. +* [`GET /messages`](/api/get-messages) : Removed `short_name` field from + `display_recipient` array objects. ## Changes in Zulip 3.0 @@ -873,8 +873,8 @@ No changes; feature level used for Zulip 3.0 release. **Feature level 16** -* [`GET /users/me`]: Removed `pointer` from the response, as the - "pointer" concept is being removed in Zulip. +* [`GET /users/me`](/api/get-own-user): Removed `pointer` from the response, + as the "pointer" concept is being removed in Zulip. * Changed the rendered HTML markup for mentioning a time to use the `