From 0f43eeb953aa1e7473e5dca728fe815be62e4e6f Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 29 Oct 2023 17:51:21 +0100 Subject: [PATCH] chore: Regenerate openapi.json Signed-off-by: jld3103 --- apps/sharebymail/openapi.json | 104 ++++++++++++++++++---------------- apps/user_status/openapi.json | 5 +- 2 files changed, 60 insertions(+), 49 deletions(-) diff --git a/apps/sharebymail/openapi.json b/apps/sharebymail/openapi.json index 3c98f9e43ac8f..5b608d42299d7 100644 --- a/apps/sharebymail/openapi.json +++ b/apps/sharebymail/openapi.json @@ -21,79 +21,87 @@ }, "schemas": { "Capabilities": { - "type": "object", - "required": [ - "files_sharing" - ], - "properties": { - "files_sharing": { + "oneOf": [ + { "type": "object", "required": [ - "sharebymail" + "files_sharing" ], "properties": { - "sharebymail": { + "files_sharing": { "type": "object", "required": [ - "enabled", - "send_password_by_mail", - "upload_files_drop", - "password", - "expire_date" + "sharebymail" ], "properties": { - "enabled": { - "type": "boolean" - }, - "send_password_by_mail": { - "type": "boolean" - }, - "upload_files_drop": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "password": { + "sharebymail": { "type": "object", "required": [ "enabled", - "enforced" + "send_password_by_mail", + "upload_files_drop", + "password", + "expire_date" ], "properties": { "enabled": { "type": "boolean" }, - "enforced": { - "type": "boolean" - } - } - }, - "expire_date": { - "type": "object", - "required": [ - "enabled", - "enforced" - ], - "properties": { - "enabled": { + "send_password_by_mail": { "type": "boolean" }, - "enforced": { - "type": "boolean" + "upload_files_drop": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "password": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } } } } } } } + }, + { + "type": "array", + "maxLength": 0 } - } + ] } } }, diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index 0a62ca7d06249..0688f644a4367 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -820,7 +820,10 @@ { "$ref": "#/components/schemas/Private" }, - {} + { + "type": "array", + "maxLength": 0 + } ] } }