From 6f446813546b6936f5beb8d365b257ee2cfb6f08 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Mon, 7 Nov 2022 20:27:24 +0100 Subject: [PATCH] api-docs: Use default response example description for create-drafts. --- zerver/openapi/zulip.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 28f73b2aea..8c121d7869 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -4824,13 +4824,8 @@ paths: schema: allOf: - $ref: "#/components/schemas/JsonSuccessBase" + - $ref: "#/components/schemas/SuccessDescription" - additionalProperties: false - description: | - When all of the drafts in the request are valid, this endpoint will return - an array of the IDs for the drafts that were just created in the same - order as they were requested. If any of the drafts failed the validation - step, then none of the drafts will be created and we would not get this - status code. The typical JSON response in such a case is: properties: result: {} msg: {}