From 2cdd54b39aa94c026e589487703779c2e1b7590d Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Fri, 27 Dec 2024 17:55:07 -0500 Subject: [PATCH] chore(api): update openapi spec Signed-off-by: Elizabeth Danzberger --- core/openapi-ex_app.json | 7 +++++++ core/openapi-full.json | 7 +++++++ core/openapi.json | 7 +++++++ lib/private/OCS/CoreCapabilities.php | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/core/openapi-ex_app.json b/core/openapi-ex_app.json index 95a86e8e112cc..1406ebeec1aca 100644 --- a/core/openapi-ex_app.json +++ b/core/openapi-ex_app.json @@ -33,6 +33,7 @@ "webdav-root", "reference-api", "reference-regex", + "conversions", "mod-rewrite-working" ], "properties": { @@ -49,6 +50,12 @@ "reference-regex": { "type": "string" }, + "conversions": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, "mod-rewrite-working": { "type": "boolean" } diff --git a/core/openapi-full.json b/core/openapi-full.json index 24e466a4f9679..3c5f1efacd06e 100644 --- a/core/openapi-full.json +++ b/core/openapi-full.json @@ -99,6 +99,7 @@ "webdav-root", "reference-api", "reference-regex", + "conversions", "mod-rewrite-working" ], "properties": { @@ -115,6 +116,12 @@ "reference-regex": { "type": "string" }, + "conversions": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, "mod-rewrite-working": { "type": "boolean" } diff --git a/core/openapi.json b/core/openapi.json index a51e845351c9a..4df327ad9bcd9 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -99,6 +99,7 @@ "webdav-root", "reference-api", "reference-regex", + "conversions", "mod-rewrite-working" ], "properties": { @@ -115,6 +116,12 @@ "reference-regex": { "type": "string" }, + "conversions": { + "type": "object", + "additionalProperties": { + "type": "object" + } + }, "mod-rewrite-working": { "type": "boolean" } diff --git a/lib/private/OCS/CoreCapabilities.php b/lib/private/OCS/CoreCapabilities.php index f67d853dd5dc1..5806d6e596d6a 100644 --- a/lib/private/OCS/CoreCapabilities.php +++ b/lib/private/OCS/CoreCapabilities.php @@ -36,7 +36,7 @@ public function __construct( * webdav-root: string, * reference-api: boolean, * reference-regex: string, - * conversions: array>, + * conversions: array, * mod-rewrite-working: boolean, * }, * }