summaryrefslogtreecommitdiffstats
path: root/core/openapi.json
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-06-05 08:29:29 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-06-05 07:05:02 +0000
commite312b5bf2b940aacc6d69038e3b7633b3433fb2f (patch)
tree1b087ce5f3bbcb94b546f3ad61e673045bf170d0 /core/openapi.json
parentddc8634695f5a3f45b97cffe5555a856dcff3d5f (diff)
downloadnextcloud-server-e312b5bf2b940aacc6d69038e3b7633b3433fb2f.tar.gz
nextcloud-server-e312b5bf2b940aacc6d69038e3b7633b3433fb2f.zip
openapi: Fix wrapping OCS responses that are not DataResponse
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'core/openapi.json')
-rw-r--r--core/openapi.json154
1 files changed, 7 insertions, 147 deletions
diff --git a/core/openapi.json b/core/openapi.json
index 6ffac746499..2371150caa1 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -1904,27 +1904,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -2002,27 +1982,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -2100,27 +2060,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -2191,27 +2131,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -3809,27 +3729,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -3839,27 +3739,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}
@@ -3869,27 +3749,7 @@
"content": {
"text/plain": {
"schema": {
- "type": "object",
- "required": [
- "ocs"
- ],
- "properties": {
- "ocs": {
- "type": "object",
- "required": [
- "meta",
- "data"
- ],
- "properties": {
- "meta": {
- "$ref": "#/components/schemas/OCSMeta"
- },
- "data": {
- "type": "string"
- }
- }
- }
- }
+ "type": "string"
}
}
}