diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-06-05 08:29:29 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-06-05 07:05:02 +0000 |
commit | e312b5bf2b940aacc6d69038e3b7633b3433fb2f (patch) | |
tree | 1b087ce5f3bbcb94b546f3ad61e673045bf170d0 /apps/provisioning_api | |
parent | ddc8634695f5a3f45b97cffe5555a856dcff3d5f (diff) | |
download | nextcloud-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.json | 66 |
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" } } } |