We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4559e commit 86421fbCopy full SHA for 86421fb
src/DTO/Schema.php
@@ -15,7 +15,8 @@ final class Schema extends DataTransferObject implements SchemaReferenceInterfac
15
protected array $onlyNotEmptyKeys = [
16
'title',
17
'description',
18
- 'required'
+ 'required',
19
+ 'properties',
20
];
21
22
public ?string $id;
@@ -51,7 +52,7 @@ final class Schema extends DataTransferObject implements SchemaReferenceInterfac
51
52
/** @var array<string, mixed> */
53
public array $definitions;
54
/** @var array<string, self> */
- public array $properties;
55
+ public array $properties = [];
56
57
public array $patternProperties;
58
0 commit comments