diff options
author | provokateurin <kate@provokateurin.de> | 2024-07-02 09:08:04 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-07-02 09:08:04 +0200 |
commit | 32de9582594e8cde172846684e9874cf10ba7099 (patch) | |
tree | 134a54cdb3531fafaf0b09505d3479380286ab9d /apps/files_versions | |
parent | ee7dda5e867b4b86fdd26abcbc574f619e8a8d64 (diff) | |
download | nextcloud-server-32de9582594e8cde172846684e9874cf10ba7099.tar.gz nextcloud-server-32de9582594e8cde172846684e9874cf10ba7099.zip |
chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/openapi.json | 72 |
1 files changed, 33 insertions, 39 deletions
diff --git a/apps/files_versions/openapi.json b/apps/files_versions/openapi.json index 2ff4dcc2035..ee81923c905 100644 --- a/apps/files_versions/openapi.json +++ b/apps/files_versions/openapi.json @@ -65,46 +65,40 @@ "basic_auth": [] } ], - "parameters": [ - { - "name": "file", - "in": "query", - "description": "Path of the file", - "schema": { - "type": "string", - "default": "" - } - }, - { - "name": "x", - "in": "query", - "description": "Width of the preview", - "schema": { - "type": "integer", - "format": "int64", - "default": 44 - } - }, - { - "name": "y", - "in": "query", - "description": "Height of the preview", - "schema": { - "type": "integer", - "format": "int64", - "default": 44 - } - }, - { - "name": "version", - "in": "query", - "description": "Version of the file to get the preview for", - "schema": { - "type": "string", - "default": "" + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "default": "", + "description": "Path of the file" + }, + "x": { + "type": "integer", + "format": "int64", + "default": 44, + "description": "Width of the preview" + }, + "y": { + "type": "integer", + "format": "int64", + "default": 44, + "description": "Height of the preview" + }, + "version": { + "type": "string", + "default": "", + "description": "Version of the file to get the preview for" + } + } + } } } - ], + }, "responses": { "200": { "description": "Preview returned", @@ -138,4 +132,4 @@ } }, "tags": [] -}
\ No newline at end of file +} |