You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But what does :1 mean in processingPath and why exception 'Swaggest\JsonDiff\JsonPointerException' with message 'Key not found: 1' in ./vendor/swaggest/json-diff/src/JsonPointer.php:226 happening on trying JsonPointer::getByPointer() with JSON Schema above and Error->getSchemaPointer() as a pointer?
The text was updated successfully, but these errors were encountered:
While JsonPointer::getByPointer(<JSON Schema from example above>, preg_replace('/\/items\/items\/\d+\//', '/items/items/', '/properties/items/items/1/allOf/0')) works.
Hello @vearutop and all contributors! I have a question.
https://github.com/swaggest/json-diff/releases/tag/v3.10.4
https://github.com/swaggest/php-json-schema/releases/tag/v0.12.41
PHP 5.6.33
JSON Schema:
Data:
Expected error:
But what does
:1
mean inprocessingPath
and why exception'Swaggest\JsonDiff\JsonPointerException'
with message'Key not found: 1'
in./vendor/swaggest/json-diff/src/JsonPointer.php:226
happening on trying JsonPointer::getByPointer() with JSON Schema above and Error->getSchemaPointer() as a pointer?The text was updated successfully, but these errors were encountered: