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
The Comparator must be extended to accept another validation options. This option is about configuring it to only validate specific JSONPaths.
Just like in the other ticket, the JSONPaths that we will be supporting first will cover these cases:
$.store.book[0].title - target a specific field. $..author | $.store..price - target a field with the specified name, wherever it is under a specific parent. $.store.* - target all fields under a specific parent. $..* falls into this category, but I am curious of what use-cases this could cover.
The text was updated successfully, but these errors were encountered:
codemental
changed the title
JsonPath selective validation
Add JSONPath selective validation to Comparator
Jan 20, 2024
The
Comparator
must be extended to accept another validation options. This option is about configuring it to only validate specific JSONPaths.Just like in the other ticket, the JSONPaths that we will be supporting first will cover these cases:
$.store.book[0].title
- target a specific field.$..author
|$.store..price
- target a field with the specified name, wherever it is under a specific parent.$.store.*
- target all fields under a specific parent.$..*
falls into this category, but I am curious of what use-cases this could cover.The text was updated successfully, but these errors were encountered: