aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/openapi.json')
-rw-r--r--apps/theming/openapi.json44
1 files changed, 40 insertions, 4 deletions
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json
index 027804806df..072b1897f69 100644
--- a/apps/theming/openapi.json
+++ b/apps/theming/openapi.json
@@ -691,9 +691,27 @@
"400": {
"description": "Enabling theme is not possible",
"content": {
- "text/plain": {
+ "application/json": {
"schema": {
- "type": "string"
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
}
}
}
@@ -779,9 +797,27 @@
"400": {
"description": "Disabling theme is not possible",
"content": {
- "text/plain": {
+ "application/json": {
"schema": {
- "type": "string"
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
}
}
}