summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
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 /apps/provisioning_api
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 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/openapi.json66
1 files changed, 3 insertions, 63 deletions
diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json
index 70515312003..82ee9b16e31 100644
--- a/apps/provisioning_api/openapi.json
+++ b/apps/provisioning_api/openapi.json
@@ -1227,27 +1227,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"
}
}
}
@@ -1257,27 +1237,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"
}
}
}
@@ -1971,27 +1931,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"
}
}
}