Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
openapi: Depluralize Attachment schema name.
Anders Kaseorgc1abeb050fc8
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 976f3037e03..579ac157838 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -1633,7 +1633,7 @@ paths:enum:- addattachment:- $ref: "#/components/schemas/Attachments"+ $ref: "#/components/schemas/Attachment"upload_space_used:type: integerdescription: |@@ -1674,7 +1674,7 @@ paths:enum:- updateattachment:- $ref: "#/components/schemas/Attachments"+ $ref: "#/components/schemas/Attachment"upload_space_used:type: integerdescription: |@@ -5660,7 +5660,7 @@ paths:A list of `attachment` objects, each containingdetails about a file uploaded by the user.items:- $ref: "#/components/schemas/Attachments"+ $ref: "#/components/schemas/Attachment"upload_space_used:type: integerdescription: |@@ -8474,7 +8474,7 @@ paths:New in Zulip 10.0 (feature level 285).items:- $ref: "#/components/schemas/Attachments"+ $ref: "#/components/schemas/Attachment"example:{"result": "success",@@ -21808,7 +21808,7 @@ components:filtering by event type in [POST /register](/api/register-queue).Anchor:type: string- Attachments:+ Attachment:type: objectdescription: |Dictionary containing details of a file uploaded by a user.