diff --git a/specs/openapi.json b/specs/openapi.json index 0f6a02f..3fbe7c4 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -1899,18 +1899,19 @@ "type": "object", "properties": { "messages": { - "type": [ - "array", - "null" - ], + "type": "array", "items": { "type": "string", "format": "snowflake" }, - "maxItems": 1521, + "minItems": 2, + "maxItems": 100, "uniqueItems": true } - } + }, + "required": [ + "messages" + ] } } }, diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index d07aeaf..b78c2b9 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -1899,18 +1899,19 @@ "type": "object", "properties": { "messages": { - "type": [ - "array", - "null" - ], + "type": "array", "items": { "type": "string", "format": "snowflake" }, - "maxItems": 1521, + "minItems": 2, + "maxItems": 100, "uniqueItems": true } - } + }, + "required": [ + "messages" + ] } } },