summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/openapi.json18
-rw-r--r--assets/schemas.json18
2 files changed, 32 insertions, 4 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" diff --git a/assets/schemas.json b/assets/schemas.json
index 2530028be..77918b905 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -5714,7 +5714,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "enforce_nonce": { "type": "boolean" @@ -5858,7 +5865,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "flags": { "type": "integer"