From 52a433ad33779a886060a4ff52758ab1f53ab8d6 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Wed, 15 Jan 2025 16:49:14 -0500 Subject: [PATCH] chore: update openapi spec Signed-off-by: Elizabeth Danzberger --- apps/files/openapi.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/files/openapi.json b/apps/files/openapi.json index c196353cdd1fc..015d4f42648ce 100644 --- a/apps/files/openapi.json +++ b/apps/files/openapi.json @@ -108,9 +108,21 @@ "type": "string" }, "to": { - "type": "object", - "additionalProperties": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "required": [ + "mime", + "name" + ], + "properties": { + "mime": { + "type": "string" + }, + "name": { + "type": "string" + } + } } } }