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: Fix `/settings/notifications` OpenAPI documentation.

orientorade5dae56482
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 511a6bdbc02..cea10e01042 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -3664,13 +3664,15 @@ paths:
* 1 - All unreads
* 2 - Private messages and mentions
* 3 - None
- schema:
- type: integer
- enum:
- - 1
- - 2
- - 3
- example: 1
+ content:
+ application/json:
+ schema:
+ type: integer
+ enum:
+ - 1
+ - 2
+ - 3
+ example: 1
- name: realm_name_in_notifications
in: query
description: |