Skip to content

Commit

Permalink
Make "hydra:mapping" item's property nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryPEGEOT committed Dec 3, 2020
1 parent d4d6377 commit 77fbce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hydra/JsonSchema/SchemaFactory.php
Expand Up @@ -121,7 +121,7 @@ public function buildSchema(string $className, string $format = 'jsonld', string
'properties' => [
'@type' => ['type' => 'string'],
'variable' => ['type' => 'string'],
'property' => ['type' => 'string'],
'property' => ['type' => 'string', 'nullable' => true],
'required' => ['type' => 'boolean'],
],
],
Expand Down

0 comments on commit 77fbce1

Please sign in to comment.