From: provokateurin Date: Sun, 2 Jun 2024 21:41:06 +0000 (+0200) Subject: fix(core): Add missing null value possibility to Resource and Reference richObject X-Git-Tag: v29.0.3rc1~55^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bc87fa837acffdd5b81db1e93395039cd8d02442;p=nextcloud-server.git fix(core): Add missing null value possibility to Resource and Reference richObject Signed-off-by: provokateurin --- diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php index 4a79c3ad3ec..5c1a22dde02 100644 --- a/core/ResponseDefinitions.php +++ b/core/ResponseDefinitions.php @@ -70,7 +70,7 @@ namespace OCA\Core; * * @psalm-type CoreResource = array{ * richObjectType: string, - * richObject: array, + * richObject: array, * openGraphObject: CoreOpenGraphObject, * accessible: bool, * } @@ -83,7 +83,7 @@ namespace OCA\Core; * * @psalm-type CoreReference = array{ * richObjectType: string, - * richObject: array, + * richObject: array, * openGraphObject: CoreOpenGraphObject, * accessible: bool, * } diff --git a/core/openapi.json b/core/openapi.json index 34009e38472..28210059fe1 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -358,7 +358,8 @@ "richObject": { "type": "object", "additionalProperties": { - "type": "object" + "type": "object", + "nullable": true } }, "openGraphObject": { @@ -416,7 +417,8 @@ "richObject": { "type": "object", "additionalProperties": { - "type": "object" + "type": "object", + "nullable": true } }, "openGraphObject": {