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"
|