Skip to content

Commit 3627cc1

Browse files
committed
Fix draft3 as well, which didn't have allOf.
1 parent eb1618b commit 3627cc1

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

tests/draft3/infinite-loop-detection.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,16 @@
55
"definitions": {
66
"int": { "type": "integer" }
77
},
8-
"allOf": [
9-
{
10-
"properties": {
11-
"foo": {
12-
"$ref": "#/definitions/int"
13-
}
14-
}
15-
},
16-
{
17-
"additionalProperties": {
18-
"$ref": "#/definitions/int"
19-
}
8+
"properties": {
9+
"foo": {
10+
"$ref": "#/definitions/int"
2011
}
21-
]
12+
},
13+
"extends": {
14+
"additionalProperties": {
15+
"$ref": "#/definitions/int"
16+
}
17+
}
2218
},
2319
"tests": [
2420
{

0 commit comments

Comments
 (0)