diff options
-rw-r--r-- | core/ResponseDefinitions.php | 4 | ||||
-rw-r--r-- | core/openapi.json | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php index 3a84ed60a4b..4c14aea8cf0 100644 --- a/core/ResponseDefinitions.php +++ b/core/ResponseDefinitions.php @@ -72,7 +72,7 @@ namespace OCA\Core; * * @psalm-type CoreResource = array{ * richObjectType: string, - * richObject: array<string, mixed>, + * richObject: array<string, ?mixed>, * openGraphObject: CoreOpenGraphObject, * accessible: bool, * } @@ -85,7 +85,7 @@ namespace OCA\Core; * * @psalm-type CoreReference = array{ * richObjectType: string, - * richObject: array<string, mixed>, + * richObject: array<string, ?mixed>, * openGraphObject: CoreOpenGraphObject, * accessible: bool, * } diff --git a/core/openapi.json b/core/openapi.json index eac918e4db9..b59408ba6fb 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -296,7 +296,8 @@ "richObject": { "type": "object", "additionalProperties": { - "type": "object" + "type": "object", + "nullable": true } }, "openGraphObject": { @@ -354,7 +355,8 @@ "richObject": { "type": "object", "additionalProperties": { - "type": "object" + "type": "object", + "nullable": true } }, "openGraphObject": { |