Skip to content

Commit

Permalink
openapi: Depluralize Subscription schema name.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <anders@zulip.com>
  • Loading branch information
andersk committed Dec 21, 2024
1 parent c1abeb0 commit 5bad79d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zerver/openapi/zulip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
{
Expand Down Expand Up @@ -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": "",
Expand Down Expand Up @@ -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`.

Expand All @@ -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`.

Expand Down Expand Up @@ -22864,7 +22864,7 @@ components:
- 600
default: 400
example: 600
Subscriptions:
Subscription:
type: object
additionalProperties: false
properties:
Expand Down

0 comments on commit 5bad79d

Please sign in to comment.