mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 10:33:54 +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
|
||||
* 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: |
|
||||
|
||||
Reference in New Issue
Block a user