Skip to content

Commit 8ee9f5a

Browse files
committed
adds reproducer for #480
1 parent 440c9ef commit 8ee9f5a

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"schemaLocation": "#",
3+
"pointerToViolation": "#",
4+
"causingExceptions": [{
5+
"pointerToViolation": "#",
6+
"causingExceptions": [{
7+
"schemaLocation": "#/oneOf/2",
8+
"pointerToViolation": "#",
9+
"causingExceptions": [],
10+
"keyword": "required",
11+
"message": "required key [rest-url] not found"
12+
}],
13+
"keyword": "oneOf",
14+
"message": "#: 2 subschemas matched instead of one"
15+
}],
16+
"keyword": "allOf",
17+
"message": "#: only 1 subschema matches out of 2"
18+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"oneOf": [
3+
{"required": ["union-query"]},
4+
{"required": ["sql-string"]},
5+
{"required": ["rest-url"]},
6+
],
7+
"type": "object",
8+
"additionalProperties": false,
9+
"properties": {
10+
"union-query": {"type": "string"},
11+
"rest-url": {"type": "string"},
12+
"sql-string": {"type": "string"},
13+
}
14+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"union-query": "xyz",
3+
"sql-string": "xyz",
4+
}

0 commit comments

Comments
 (0)