diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-07-31 17:03:06 +0200 |
---|---|---|
committer | Kate <26026535+provokateurin@users.noreply.github.com> | 2023-08-03 10:58:16 +0200 |
commit | 89c941f65e01898cd797631bec9719719d587c97 (patch) | |
tree | 9a0e7d1ca0654476890c4065202f4ba9ce765c6a /core/openapi.json | |
parent | 90bb0a26f4c6a689015a8293c021ef7591933b91 (diff) | |
download | nextcloud-server-89c941f65e01898cd797631bec9719719d587c97.tar.gz nextcloud-server-89c941f65e01898cd797631bec9719719d587c97.zip |
Fix OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'core/openapi.json')
-rw-r--r-- | core/openapi.json | 72 |
1 files changed, 31 insertions, 41 deletions
diff --git a/core/openapi.json b/core/openapi.json index de65f08a4ee..752aa4c1ffb 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -394,28 +394,8 @@ "type": "string" }, "status": { - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - } - ] + "type": "integer", + "format": "int64" }, "userId": { "type": "string", @@ -1628,11 +1608,15 @@ } }, { - "name": "shareTypes", + "name": "shareTypes[]", "in": "query", "description": "Types of shares to search for", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } } }, { @@ -3251,12 +3235,15 @@ ], "parameters": [ { - "name": "references", + "name": "references[]", "in": "query", "description": "References to resolve", "required": true, "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } } }, { @@ -4300,21 +4287,24 @@ ], "properties": { "types": { - "type": "object", - "required": [ - "id", - "name", - "description" - ], - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "required": [ + "id", + "name", + "description" + ], + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + } } } } |