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.

openapi: Depluralize Subscription schema name.

Anders Kaseorg5bad79dd5b3f
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 579ac157838..f71173dd043 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -683,7 +683,7 @@ paths:
Removed `role` field from the dictionary
in Zulip 6.0 (feature level 133).
items:
- $ref: "#/components/schemas/Subscriptions"
+ $ref: "#/components/schemas/Subscription"
additionalProperties: false
example:
{
@@ -10161,7 +10161,7 @@ paths:
Removed `role` field from the dictionary
in Zulip 6.0 (feature level 133).
items:
- $ref: "#/components/schemas/Subscriptions"
+ $ref: "#/components/schemas/Subscription"
example:
{
"msg": "",
@@ -14819,7 +14819,7 @@ paths:
subscriptions:
type: array
items:
- $ref: "#/components/schemas/Subscriptions"
+ $ref: "#/components/schemas/Subscription"
description: |
Present if `subscription` is present in `fetch_event_types`.
@@ -14835,7 +14835,7 @@ paths:
unsubscribed:
type: array
items:
- $ref: "#/components/schemas/Subscriptions"
+ $ref: "#/components/schemas/Subscription"
description: |
Present if `subscription` is present in `fetch_event_types`.
@@ -22864,7 +22864,7 @@ components:
- 600
default: 400
example: 600
- Subscriptions:
+ Subscription:
type: object
additionalProperties: false
properties: