summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'assets/openapi.json')
-rw-r--r--assets/openapi.json18
1 files changed, 16 insertions, 2 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 6e8ba7446..ccc96457c 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -5091,7 +5091,14 @@ ] }, "poll": { - "$ref": "#/components/schemas/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/components/schemas/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "enforce_nonce": { "type": "boolean" @@ -5229,7 +5236,14 @@ ] }, "poll": { - "$ref": "#/components/schemas/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/components/schemas/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "flags": { "type": "integer"