aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ResponseDefinitions.php4
-rw-r--r--core/openapi.json6
2 files changed, 6 insertions, 4 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php
index f186f52c335..7a1dad464dd 100644
--- a/core/ResponseDefinitions.php
+++ b/core/ResponseDefinitions.php
@@ -53,7 +53,7 @@ namespace OCA\Core;
*
* @psalm-type CoreResource = array{
* richObjectType: string,
- * richObject: array<string, mixed>,
+ * richObject: array<string, ?mixed>,
* openGraphObject: CoreOpenGraphObject,
* accessible: bool,
* }
@@ -66,7 +66,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 a20691046fa..94b93253704 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": {