Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_documentation: Update subscriptions parameter in OpenAPI doc.

Palash61e87b0ac8d9
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a54ee0447f5..ffc496a3a29 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -6630,6 +6630,21 @@ paths:
type: array
items:
type: object
+ additionalProperties: false
+ properties:
+ name:
+ type: string
+ description: The name of a stream.
+ description:
+ type: string
+ description: A short description of the stream.
+ required:
+ - name
+ example:
+ no-description:
+ value: {"name": "Verona"}
+ with-description:
+ value: {"name": "Verona", "description": "Italian city"}
example: [{"name": "Verona", "description": "Italian city"}]
required: true
- $ref: "#/components/parameters/Principals"