Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(core): Add missing null value possibility to Resource and Referen…
…ce richObject

Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Jun 4, 2024
commit 4b4572acd93233702e180d6e7895703cf5ceda5d
4 changes: 2 additions & 2 deletions core/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
*
* @psalm-type CoreResource = array{
* richObjectType: string,
* richObject: array<string, mixed>,
* richObject: array<string, ?mixed>,
* openGraphObject: CoreOpenGraphObject,
* accessible: bool,
* }
Expand All @@ -83,7 +83,7 @@
*
* @psalm-type CoreReference = array{
* richObjectType: string,
* richObject: array<string, mixed>,
* richObject: array<string, ?mixed>,
* openGraphObject: CoreOpenGraphObject,
* accessible: bool,
* }
Expand Down
6 changes: 4 additions & 2 deletions core/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@
"richObject": {
"type": "object",
"additionalProperties": {
"type": "object"
"type": "object",
"nullable": true
}
},
"openGraphObject": {
Expand Down Expand Up @@ -356,7 +357,8 @@
"richObject": {
"type": "object",
"additionalProperties": {
"type": "object"
"type": "object",
"nullable": true
}
},
"openGraphObject": {
Expand Down