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 f215683 commit 8d5443eCopy full SHA for 8d5443e
tests/JsonSchema/Tests/Constraints/RequiredPropertyTest.php
@@ -68,6 +68,16 @@ public function getInvalidTests()
68
'{
69
"required": ["foo"]
70
}'
71
+ ),
72
+ array(
73
+ '{
74
+ }',
75
76
+ "type": "object",
77
+ "properties": {
78
+ "foo": { "required": true }
79
+ }
80
+ }'
81
)
82
);
83
}
@@ -179,6 +189,17 @@ public function getValidTests()
179
189
},
180
190
181
191
192
193
194
195
+ "foo": {}
196
197
198
199
200
201
202
182
203
183
204
184
205
0 commit comments