Skip to content

Commit

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

0 comments on commit 7705980

Please sign in to comment.