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