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/user_status | |
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/user_status')
-rw-r--r-- | apps/user_status/openapi.json | 110 |
1 files changed, 5 insertions, 105 deletions
diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index 9a3b67fb2c8..08eddd47bb3 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -349,27 +349,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" } } } @@ -439,27 +419,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" } } } @@ -538,27 +498,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" } } } @@ -647,27 +587,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" } } } @@ -765,27 +685,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" } } } |