aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-10-29 17:51:21 +0100
committerKate <26026535+provokateurin@users.noreply.github.com>2023-11-02 11:37:15 +0100
commit0f43eeb953aa1e7473e5dca728fe815be62e4e6f (patch)
treec0e8ea4391711320957e879fcfc9c03c8e60b251
parent755de1e0b57aa9c7275257142b6f852fbcd1961e (diff)
downloadnextcloud-server-0f43eeb953aa1e7473e5dca728fe815be62e4e6f.tar.gz
nextcloud-server-0f43eeb953aa1e7473e5dca728fe815be62e4e6f.zip
chore: Regenerate openapi.json
Signed-off-by: jld3103 <jld3103yt@gmail.com>
-rw-r--r--apps/sharebymail/openapi.json104
-rw-r--r--apps/user_status/openapi.json5
2 files changed, 60 insertions, 49 deletions
diff --git a/apps/sharebymail/openapi.json b/apps/sharebymail/openapi.json
index 3c98f9e43ac..5b608d42299 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 0a62ca7d062..0688f644a43 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
+ }
]
}
}