aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-08-19 11:08:28 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-21 11:21:33 +0000
commit9f037c3ef352c150da129abc1119dea3c4219fd0 (patch)
tree50880d3a856a196f9256093028dadb7092833265 /apps/files_trashbin
parentccc39a41bbc2d9f9ff50a297a101fc55773d88ab (diff)
downloadnextcloud-server-9f037c3ef352c150da129abc1119dea3c4219fd0.tar.gz
nextcloud-server-9f037c3ef352c150da129abc1119dea3c4219fd0.zip
chore(deps): Update openapi-extractor to v1.0.0
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/openapi.json76
1 files changed, 43 insertions, 33 deletions
diff --git a/apps/files_trashbin/openapi.json b/apps/files_trashbin/openapi.json
index 03b98635b39..6662fe10815 100644
--- a/apps/files_trashbin/openapi.json
+++ b/apps/files_trashbin/openapi.json
@@ -57,41 +57,51 @@
"basic_auth": []
}
],
- "requestBody": {
- "required": false,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "fileId": {
- "type": "integer",
- "format": "int64",
- "default": -1,
- "description": "ID of the file"
- },
- "x": {
- "type": "integer",
- "format": "int64",
- "default": 32,
- "description": "Width of the preview"
- },
- "y": {
- "type": "integer",
- "format": "int64",
- "default": 32,
- "description": "Height of the preview"
- },
- "a": {
- "type": "boolean",
- "default": false,
- "description": "Whether to not crop the preview"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "fileId",
+ "in": "query",
+ "description": "ID of the file",
+ "schema": {
+ "type": "integer",
+ "format": "int64",
+ "default": -1
+ }
+ },
+ {
+ "name": "x",
+ "in": "query",
+ "description": "Width of the preview",
+ "schema": {
+ "type": "integer",
+ "format": "int64",
+ "default": 32
+ }
+ },
+ {
+ "name": "y",
+ "in": "query",
+ "description": "Height of the preview",
+ "schema": {
+ "type": "integer",
+ "format": "int64",
+ "default": 32
+ }
+ },
+ {
+ "name": "a",
+ "in": "query",
+ "description": "Whether to not crop the preview",
+ "schema": {
+ "type": "integer",
+ "default": 0,
+ "enum": [
+ 0,
+ 1
+ ]
}
}
- },
+ ],
"responses": {
"200": {
"description": "Preview returned",