diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-06-05 08:29:29 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-06-05 08:30:12 +0200 |
commit | c43572223603cf895d8831d2f880a8b8f56ab39e (patch) | |
tree | fbfa37b43f0aeb9cc6feda2ba43f8ddde3849928 /core/openapi.json | |
parent | 7fd9b62fe384ea741729fbefbde79ce5e52e9f8d (diff) | |
download | nextcloud-server-c43572223603cf895d8831d2f880a8b8f56ab39e.tar.gz nextcloud-server-c43572223603cf895d8831d2f880a8b8f56ab39e.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.json | 154 |
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" } } } |