mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
openapi: Fix /settings/notifications OpenAPI documentation.
We pass these values encoded as JSON and parsed with validator=check_int, not as raw integers.
This commit is contained in:
@@ -3664,13 +3664,15 @@ paths:
|
|||||||
* 1 - All unreads
|
* 1 - All unreads
|
||||||
* 2 - Private messages and mentions
|
* 2 - Private messages and mentions
|
||||||
* 3 - None
|
* 3 - None
|
||||||
schema:
|
content:
|
||||||
type: integer
|
application/json:
|
||||||
enum:
|
schema:
|
||||||
- 1
|
type: integer
|
||||||
- 2
|
enum:
|
||||||
- 3
|
- 1
|
||||||
example: 1
|
- 2
|
||||||
|
- 3
|
||||||
|
example: 1
|
||||||
- name: realm_name_in_notifications
|
- name: realm_name_in_notifications
|
||||||
in: query
|
in: query
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user