Skip to content

fix: $ref resolution when used with $id#2765

Draft
vadyvas wants to merge 1 commit intomainfrom
fix/ref-resolution-when-used-with-id
Draft

fix: $ref resolution when used with $id#2765
vadyvas wants to merge 1 commit intomainfrom
fix/ref-resolution-when-used-with-id

Conversation

@vadyvas
Copy link
Copy Markdown
Contributor

@vadyvas vadyvas commented Apr 22, 2026

What/Why/How?

Reference

Testing

Screenshots (optional)

Check yourself

  • This PR follows the contributing guide
  • All new/updated code is covered by tests
  • Core code changed? - Tested with other Redocly products (internal contributions only)
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update has been considered

Security

  • The security impact of the change has been considered
  • Code follows company security practices and guidelines

@vadyvas vadyvas added the snapshot Create experimental release PR label Apr 22, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 22, 2026

⚠️ No Changeset found

Latest commit: 83ee944

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

📦 A new experimental 🧪 version v0.0.0-snapshot.1776872195 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/cli@0.0.0-snapshot.1776872195
# or
npm install @redocly/openapi-core@0.0.0-snapshot.1776872195
# or
npm install @redocly/respect-core@0.0.0-snapshot.1776872195

⚠️ Note: This is a development build and may contain unstable features.

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 80.05% (🎯 79%) 7108 / 8879
🔵 Statements 79.46% (🎯 78%) 7387 / 9296
🔵 Functions 83.47% (🎯 82%) 1430 / 1713
🔵 Branches 71.57% (🎯 70%) 4817 / 6730
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/ref-utils.ts 93.18% 94.23% 100% 95.12% 10, 58, 122
packages/core/src/resolve.ts 95.9% 95.27% 100% 95.78% 88, 297, 370-375, 446-447, 459-460
packages/core/src/walk.ts 98.15% 97.27% 84.21% 98.67% 202, 217, 434
Generated in workflow #9567 for commit 83ee944 by the Vitest Coverage Report Action

@github-actions
Copy link
Copy Markdown
Contributor

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.590s ± 0.059s ▓ 1.00x (Fastest)
cli-next 3.596s ± 0.062s ▓ 1.00x

@vadyvas
Copy link
Copy Markdown
Contributor Author

vadyvas commented Apr 24, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot Create experimental release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant