@@ -52,10 +52,10 @@ public function testErrorMessage()
52
52
0: Enum failed, enum: ["a"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[0]
53
53
1: Enum failed, enum: ["b"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[1]
54
54
2: No valid results for anyOf {
55
- 0: Enum failed, enum: ["c"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[0]
56
- 1: Enum failed, enum: ["d"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[1]
57
- 2: Enum failed, enum: ["e"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[2]
58
- } at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]
55
+ 0: Enum failed, enum: ["c"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[0]
56
+ 1: Enum failed, enum: ["d"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[1]
57
+ 2: Enum failed, enum: ["e"], data: "f" at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[2]
58
+ } at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]
59
59
} at #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo
60
60
TEXT;
61
61
@@ -104,11 +104,12 @@ public function testErrorMessage()
104
104
[schemaPointers] => Array
105
105
(
106
106
[0] => /properties/root/patternProperties/^[a-zA-Z0-9_]+$/oneOf/2/$ref
107
- [1] => /cde
107
+ [1] => /ref-to-cde/$ref
108
+ [2] => /cde
108
109
)
109
110
110
111
[dataPointer] => /root/zoo
111
- [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]
112
+ [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]
112
113
[subErrors] => Array
113
114
(
114
115
[0] => Swaggest\JsonSchema\Exception\Error Object
@@ -117,11 +118,12 @@ public function testErrorMessage()
117
118
[schemaPointers] => Array
118
119
(
119
120
[0] => /properties/root/patternProperties/^[a-zA-Z0-9_]+$/oneOf/2/$ref
120
- [1] => /cde/anyOf/0
121
+ [1] => /ref-to-cde/$ref
122
+ [2] => /cde/anyOf/0
121
123
)
122
124
123
125
[dataPointer] => /root/zoo
124
- [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[0]
126
+ [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[0]
125
127
[subErrors] =>
126
128
)
127
129
@@ -131,11 +133,12 @@ public function testErrorMessage()
131
133
[schemaPointers] => Array
132
134
(
133
135
[0] => /properties/root/patternProperties/^[a-zA-Z0-9_]+$/oneOf/2/$ref
134
- [1] => /cde/anyOf/1
136
+ [1] => /ref-to-cde/$ref
137
+ [2] => /cde/anyOf/1
135
138
)
136
139
137
140
[dataPointer] => /root/zoo
138
- [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[1]
141
+ [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[1]
139
142
[subErrors] =>
140
143
)
141
144
@@ -145,11 +148,12 @@ public function testErrorMessage()
145
148
[schemaPointers] => Array
146
149
(
147
150
[0] => /properties/root/patternProperties/^[a-zA-Z0-9_]+$/oneOf/2/$ref
148
- [1] => /cde/anyOf/2
151
+ [1] => /ref-to-cde/$ref
152
+ [2] => /cde/anyOf/2
149
153
)
150
154
151
155
[dataPointer] => /root/zoo
152
- [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/cde]->anyOf[2]
156
+ [processingPath] => #->properties:root->patternProperties[^[a-zA-Z0-9_]+$]:zoo->oneOf[2]->$ref[#/ref-to-cde]->$ref[#/ cde]->anyOf[2]
153
157
[subErrors] =>
154
158
)
155
159
0 commit comments