Skip to content

Commit c8d6a14

Browse files
Merge pull request #54783 from nextcloud/chore/deps/openapi-extractor-v1.8.3
2 parents 796eec5 + 0221611 commit c8d6a14

9 files changed

Lines changed: 118 additions & 330 deletions

File tree

apps/files_sharing/openapi.json

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,25 +1509,17 @@
15091509
"in": "query",
15101510
"description": "Whether to not crop the preview",
15111511
"schema": {
1512-
"type": "integer",
1513-
"default": 0,
1514-
"enum": [
1515-
0,
1516-
1
1517-
]
1512+
"type": "boolean",
1513+
"default": false
15181514
}
15191515
},
15201516
{
15211517
"name": "mimeFallback",
15221518
"in": "query",
15231519
"description": "Whether to fallback to the mime icon if no preview is available",
15241520
"schema": {
1525-
"type": "integer",
1526-
"default": 0,
1527-
"enum": [
1528-
0,
1529-
1
1530-
]
1521+
"type": "boolean",
1522+
"default": false
15311523
}
15321524
},
15331525
{
@@ -2357,12 +2349,8 @@
23572349
"in": "query",
23582350
"description": "Include tags in the share",
23592351
"schema": {
2360-
"type": "integer",
2361-
"default": 0,
2362-
"enum": [
2363-
0,
2364-
1
2365-
]
2352+
"type": "boolean",
2353+
"default": false
23662354
}
23672355
},
23682356
{
@@ -3525,12 +3513,8 @@
35253513
"in": "query",
35263514
"description": "If a global lookup should be performed too",
35273515
"schema": {
3528-
"type": "integer",
3529-
"default": 0,
3530-
"enum": [
3531-
0,
3532-
1
3533-
]
3516+
"type": "boolean",
3517+
"default": false
35343518
}
35353519
},
35363520
{

apps/files_trashbin/openapi.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,8 @@
9797
"in": "query",
9898
"description": "Whether to not crop the preview",
9999
"schema": {
100-
"type": "integer",
101-
"default": 0,
102-
"enum": [
103-
0,
104-
1
105-
]
100+
"type": "boolean",
101+
"default": false
106102
}
107103
}
108104
],

apps/files_versions/openapi.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,8 @@
109109
"in": "query",
110110
"description": "Whether to fallback to the mime icon if no preview is available",
111111
"schema": {
112-
"type": "integer",
113-
"default": 0,
114-
"enum": [
115-
0,
116-
1
117-
]
112+
"type": "boolean",
113+
"default": false
118114
}
119115
}
120116
],

apps/theming/openapi.json

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -182,25 +182,17 @@
182182
"in": "query",
183183
"description": "Let the browser decide the CSS priority",
184184
"schema": {
185-
"type": "integer",
186-
"default": 0,
187-
"enum": [
188-
0,
189-
1
190-
]
185+
"type": "boolean",
186+
"default": false
191187
}
192188
},
193189
{
194190
"name": "withCustomCss",
195191
"in": "query",
196192
"description": "Include custom CSS",
197193
"schema": {
198-
"type": "integer",
199-
"default": 0,
200-
"enum": [
201-
0,
202-
1
203-
]
194+
"type": "boolean",
195+
"default": false
204196
}
205197
}
206198
],
@@ -260,12 +252,8 @@
260252
"in": "query",
261253
"description": "Return image as SVG",
262254
"schema": {
263-
"type": "integer",
264-
"default": 1,
265-
"enum": [
266-
0,
267-
1
268-
]
255+
"type": "boolean",
256+
"default": true
269257
}
270258
}
271259
],

apps/user_ldap/openapi.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,8 @@
204204
"in": "query",
205205
"description": "Whether to show the password",
206206
"schema": {
207-
"type": "integer",
208-
"default": 0,
209-
"enum": [
210-
0,
211-
1
212-
]
207+
"type": "boolean",
208+
"default": false
213209
}
214210
},
215211
{

core/openapi-full.json

Lines changed: 22 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,12 +3174,8 @@
31743174
"in": "query",
31753175
"description": "Rewrite URLs to absolute ones",
31763176
"schema": {
3177-
"type": "integer",
3178-
"default": 0,
3179-
"enum": [
3180-
0,
3181-
1
3182-
]
3177+
"type": "boolean",
3178+
"default": false
31833179
}
31843180
},
31853181
{
@@ -3282,12 +3278,8 @@
32823278
"in": "query",
32833279
"description": "Rewrite URLs to absolute ones",
32843280
"schema": {
3285-
"type": "integer",
3286-
"default": 0,
3287-
"enum": [
3288-
0,
3289-
1
3290-
]
3281+
"type": "boolean",
3282+
"default": false
32913283
}
32923284
},
32933285
{
@@ -8945,12 +8937,8 @@
89458937
"in": "query",
89468938
"description": "Fallback to guest avatar if not found",
89478939
"schema": {
8948-
"type": "integer",
8949-
"default": 0,
8950-
"enum": [
8951-
0,
8952-
1
8953-
]
8940+
"type": "boolean",
8941+
"default": false
89548942
}
89558943
}
89568944
],
@@ -9052,12 +9040,8 @@
90529040
"in": "query",
90539041
"description": "Fallback to guest avatar if not found",
90549042
"schema": {
9055-
"type": "integer",
9056-
"default": 0,
9057-
"enum": [
9058-
0,
9059-
1
9060-
]
9043+
"type": "boolean",
9044+
"default": false
90619045
}
90629046
}
90639047
],
@@ -9301,13 +9285,9 @@
93019285
"in": "query",
93029286
"description": "Return dark avatar",
93039287
"schema": {
9304-
"type": "integer",
9288+
"type": "boolean",
93059289
"nullable": true,
9306-
"default": 0,
9307-
"enum": [
9308-
0,
9309-
1
9310-
]
9290+
"default": false
93119291
}
93129292
}
93139293
],
@@ -9683,25 +9663,17 @@
96839663
"in": "query",
96849664
"description": "Preserve the aspect ratio",
96859665
"schema": {
9686-
"type": "integer",
9687-
"default": 0,
9688-
"enum": [
9689-
0,
9690-
1
9691-
]
9666+
"type": "boolean",
9667+
"default": false
96929668
}
96939669
},
96949670
{
96959671
"name": "forceIcon",
96969672
"in": "query",
96979673
"description": "Force returning an icon",
96989674
"schema": {
9699-
"type": "integer",
9700-
"default": 1,
9701-
"enum": [
9702-
0,
9703-
1
9704-
]
9675+
"type": "boolean",
9676+
"default": true
97059677
}
97069678
},
97079679
{
@@ -9722,12 +9694,8 @@
97229694
"in": "query",
97239695
"description": "Whether to fallback to the mime icon if no preview is available",
97249696
"schema": {
9725-
"type": "integer",
9726-
"default": 0,
9727-
"enum": [
9728-
0,
9729-
1
9730-
]
9697+
"type": "boolean",
9698+
"default": false
97319699
}
97329700
}
97339701
],
@@ -9849,25 +9817,17 @@
98499817
"in": "query",
98509818
"description": "Preserve the aspect ratio",
98519819
"schema": {
9852-
"type": "integer",
9853-
"default": 0,
9854-
"enum": [
9855-
0,
9856-
1
9857-
]
9820+
"type": "boolean",
9821+
"default": false
98589822
}
98599823
},
98609824
{
98619825
"name": "forceIcon",
98629826
"in": "query",
98639827
"description": "Force returning an icon",
98649828
"schema": {
9865-
"type": "integer",
9866-
"default": 1,
9867-
"enum": [
9868-
0,
9869-
1
9870-
]
9829+
"type": "boolean",
9830+
"default": true
98719831
}
98729832
},
98739833
{
@@ -9888,12 +9848,8 @@
98889848
"in": "query",
98899849
"description": "Whether to fallback to the mime icon if no preview is available",
98909850
"schema": {
9891-
"type": "integer",
9892-
"default": 0,
9893-
"enum": [
9894-
0,
9895-
1
9896-
]
9851+
"type": "boolean",
9852+
"default": false
98979853
}
98989854
}
98999855
],

0 commit comments

Comments
 (0)