Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add 'code' field to unauthorized error in delete attachments.
Lauryn Menard03ba4df8ee96
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 7518ff74ef1..862194ff047 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -5023,14 +5023,15 @@ paths:application/json:schema:allOf:- - $ref: "#/components/schemas/JsonError"+ - $ref: "#/components/schemas/CodedError"- example:{+ "code": "UNAUTHORIZED","result": "error","msg": "Not logged in: API authentication or user session required",}description: |- A typical failed JSON response for when the user is not logged in+ A typical failed JSON response for when the user is not logged in:/drafts:get:operationId: get-drafts