fix: make respect jsonpath criteria compliant with rfc9535#2745
Draft
DmitryAnansky wants to merge 4 commits intomainfrom
Draft
fix: make respect jsonpath criteria compliant with rfc9535#2745DmitryAnansky wants to merge 4 commits intomainfrom
DmitryAnansky wants to merge 4 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 4acb9e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
885cd8f to
f621381
Compare
Contributor
|
Contributor
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
JLekawa
reviewed
Apr 15, 2026
JLekawa
approved these changes
Apr 15, 2026
Contributor
|
📦 A new experimental 🧪 version v0.0.0-snapshot.1776345459 of Redocly CLI has been published for testing. Install with NPM: npm install @redocly/cli@0.0.0-snapshot.1776345459
# or
npm install @redocly/openapi-core@0.0.0-snapshot.1776345459
# or
npm install @redocly/respect-core@0.0.0-snapshot.1776345459 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why/How?
respectjsonpath criteria complient with rfc9535.Reference
Testing
Screenshots (optional)
Check yourself
Security
Note
Medium Risk
Changes core success-criteria evaluation semantics for
jsonpathconditions (including removing prior custom parsing/eval behavior), which may break existing workflows relying on legacy expressions.Overview
Respect’s JSONPath success criteria now evaluate using RFC 9535 JSONPath queries (via
jsonpath-rfc9535) instead of the previous custom expression parsing andFunction-based evaluation.Test coverage, snapshots, and sample Arazzo workflows are updated to use RFC 9535-compatible filter-style conditions (e.g.
"$[?@.name == '...']"andlength(...)) and a changeset bumps@redocly/respect-coreas a patch release.Reviewed by Cursor Bugbot for commit 4acb9e3. Bugbot is set up for automated code reviews on this repo. Configure here.