diff options
Diffstat (limited to 'apps/theming/openapi.json')
-rw-r--r-- | apps/theming/openapi.json | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json index 45284ebf613..9057d26cb69 100644 --- a/apps/theming/openapi.json +++ b/apps/theming/openapi.json @@ -138,28 +138,6 @@ "basic_auth": [] } ], - "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", @@ -169,6 +147,32 @@ "schema": { "type": "string" } + }, + { + "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 + ] + } } ], "responses": { @@ -212,23 +216,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "useSvg": { - "type": "boolean", - "default": true, - "description": "Return image as SVG" - } - } - } - } - } - }, "parameters": [ { "name": "key", @@ -238,6 +225,19 @@ "schema": { "type": "string" } + }, + { + "name": "useSvg", + "in": "query", + "description": "Return image as SVG", + "schema": { + "type": "integer", + "default": 1, + "enum": [ + 0, + 1 + ] + } } ], "responses": { |