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:
orientor
2020-07-10 03:37:46 +05:30
committed by Tim Abbott
parent ee39522eef
commit ade5dae564

View File

@@ -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: |