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/theming | |
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/theming')
-rw-r--r-- | apps/theming/openapi.json | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json index fe0f342f993..45284ebf613 100644 --- a/apps/theming/openapi.json +++ b/apps/theming/openapi.json @@ -138,33 +138,29 @@ "basic_auth": [] } ], - "parameters": [ - { - "name": "plain", - "in": "query", - "description": "Let the browser decide the CSS priority", - "schema": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ] - } - }, - { - "name": "withCustomCss", - "in": "query", - "description": "Include custom CSS", - "schema": { - "type": "integer", - "default": 0, - "enum": [ - 0, - 1 - ] + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "plain": { + "type": "boolean", + "default": false, + "description": "Let the browser decide the CSS priority" + }, + "withCustomCss": { + "type": "boolean", + "default": false, + "description": "Include custom CSS" + } + } + } } - }, + } + }, + "parameters": [ { "name": "themeId", "in": "path", @@ -216,20 +212,24 @@ "basic_auth": [] } ], - "parameters": [ - { - "name": "useSvg", - "in": "query", - "description": "Return image as SVG", - "schema": { - "type": "integer", - "default": 1, - "enum": [ - 0, - 1 - ] + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "useSvg": { + "type": "boolean", + "default": true, + "description": "Return image as SVG" + } + } + } } - }, + } + }, + "parameters": [ { "name": "key", "in": "path", @@ -846,4 +846,4 @@ "description": "Class ThemingController\nhandle ajax requests to update the theme" } ] -}
\ No newline at end of file +} |