Skip to content

Commit 0f43eeb

Browse files
committed
chore: Regenerate openapi.json
Signed-off-by: jld3103 <[email protected]>
1 parent 755de1e commit 0f43eeb

2 files changed

Lines changed: 60 additions & 49 deletions

File tree

apps/sharebymail/openapi.json

Lines changed: 56 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -21,79 +21,87 @@
2121
},
2222
"schemas": {
2323
"Capabilities": {
24-
"type": "object",
25-
"required": [
26-
"files_sharing"
27-
],
28-
"properties": {
29-
"files_sharing": {
24+
"oneOf": [
25+
{
3026
"type": "object",
3127
"required": [
32-
"sharebymail"
28+
"files_sharing"
3329
],
3430
"properties": {
35-
"sharebymail": {
31+
"files_sharing": {
3632
"type": "object",
3733
"required": [
38-
"enabled",
39-
"send_password_by_mail",
40-
"upload_files_drop",
41-
"password",
42-
"expire_date"
34+
"sharebymail"
4335
],
4436
"properties": {
45-
"enabled": {
46-
"type": "boolean"
47-
},
48-
"send_password_by_mail": {
49-
"type": "boolean"
50-
},
51-
"upload_files_drop": {
52-
"type": "object",
53-
"required": [
54-
"enabled"
55-
],
56-
"properties": {
57-
"enabled": {
58-
"type": "boolean"
59-
}
60-
}
61-
},
62-
"password": {
37+
"sharebymail": {
6338
"type": "object",
6439
"required": [
6540
"enabled",
66-
"enforced"
41+
"send_password_by_mail",
42+
"upload_files_drop",
43+
"password",
44+
"expire_date"
6745
],
6846
"properties": {
6947
"enabled": {
7048
"type": "boolean"
7149
},
72-
"enforced": {
73-
"type": "boolean"
74-
}
75-
}
76-
},
77-
"expire_date": {
78-
"type": "object",
79-
"required": [
80-
"enabled",
81-
"enforced"
82-
],
83-
"properties": {
84-
"enabled": {
50+
"send_password_by_mail": {
8551
"type": "boolean"
8652
},
87-
"enforced": {
88-
"type": "boolean"
53+
"upload_files_drop": {
54+
"type": "object",
55+
"required": [
56+
"enabled"
57+
],
58+
"properties": {
59+
"enabled": {
60+
"type": "boolean"
61+
}
62+
}
63+
},
64+
"password": {
65+
"type": "object",
66+
"required": [
67+
"enabled",
68+
"enforced"
69+
],
70+
"properties": {
71+
"enabled": {
72+
"type": "boolean"
73+
},
74+
"enforced": {
75+
"type": "boolean"
76+
}
77+
}
78+
},
79+
"expire_date": {
80+
"type": "object",
81+
"required": [
82+
"enabled",
83+
"enforced"
84+
],
85+
"properties": {
86+
"enabled": {
87+
"type": "boolean"
88+
},
89+
"enforced": {
90+
"type": "boolean"
91+
}
92+
}
8993
}
9094
}
9195
}
9296
}
9397
}
9498
}
99+
},
100+
{
101+
"type": "array",
102+
"maxLength": 0
95103
}
96-
}
104+
]
97105
}
98106
}
99107
},

apps/user_status/openapi.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,10 @@
820820
{
821821
"$ref": "#/components/schemas/Private"
822822
},
823-
{}
823+
{
824+
"type": "array",
825+
"maxLength": 0
826+
}
824827
]
825828
}
826829
}

0 commit comments

Comments
 (0)