diff options
-rw-r--r-- | apps/files/openapi.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/apps/files/openapi.json b/apps/files/openapi.json index c196353cdd1..015d4f42648 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" + } + } } } } |