Skip to content

feat: add Arazzo spec rules to check outputs to be defined#2549

Merged
DmitryAnansky merged 9 commits intomainfrom
feat/add-rules-to-check-outputs-to-be-defined
Feb 9, 2026
Merged

feat: add Arazzo spec rules to check outputs to be defined#2549
DmitryAnansky merged 9 commits intomainfrom
feat/add-rules-to-check-outputs-to-be-defined

Conversation

@DmitryAnansky
Copy link
Contributor

@DmitryAnansky DmitryAnansky commented Feb 6, 2026

What/Why/How?

Added outputs-defined Arazzo spec rule to check outputs are defined before usage.

Reference

Closes: #2402

Testing

Screenshots (optional)

Check yourself

  • Code changed? - Tested with Redoc/Realm/Reunite (internal)
  • All new/updated code is covered by tests
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update considered

Security

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

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 5265e87

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@redocly/respect-core Minor
@redocly/openapi-core Minor
@redocly/cli Minor

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

@DmitryAnansky DmitryAnansky changed the title Feat/add rules to check outputs to be defined feat: add rules to check outputs to be defined for Arazzo spec Feb 6, 2026
@DmitryAnansky DmitryAnansky changed the title feat: add rules to check outputs to be defined for Arazzo spec feat: add Arazzo spec rules to check outputs to be defined Feb 6, 2026
@DmitryAnansky DmitryAnansky force-pushed the feat/add-rules-to-check-outputs-to-be-defined branch from 6259890 to 797e4b8 Compare February 6, 2026 17:23
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.73% (🎯 78%) 6182 / 7852
🔵 Statements 78.17% (🎯 78%) 6390 / 8174
🔵 Functions 82.56% (🎯 82%) 1269 / 1537
🔵 Branches 70.42% (🎯 70%) 4210 / 5978
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/visitors.ts 92.94% 90.12% 90% 92.5% 556, 593, 596, 617, 649, 663
packages/core/src/config/all.ts 100% 100% 100% 100%
packages/core/src/config/minimal.ts 100% 100% 100% 100%
packages/core/src/config/recommended-strict.ts 100% 100% 100% 100%
packages/core/src/config/recommended.ts 100% 100% 100% 100%
packages/core/src/config/spec.ts 100% 100% 100% 100%
packages/core/src/rules/arazzo/index.ts 100% 100% 100% 100%
packages/core/src/rules/arazzo/outputs-defined.ts 100% 94.73% 100% 100%
packages/core/src/rules/respect/no-criteria-xpath.ts 100% 100% 100% 100%
packages/core/src/types/redocly-yaml.ts 92.3% 82.85% 100% 91.93% 365-372, 374, 519-524, 527-532, 535-540
packages/core/src/typings/arazzo.ts 100% 100% 100% 100%
packages/respect-core/src/modules/flow-runner/get-test-description-from-file.ts 100% 76.47% 100% 100%
packages/respect-core/src/modules/flow-runner/success-criteria/check-success-criteria.ts 100% 100% 100% 100%
packages/respect-core/src/modules/flow-runner/success-criteria/validate-success-criteria.ts 100% 100% 100% 100%
Generated in workflow #8538 for commit 5265e87 by the Vitest Coverage Report Action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.634s ± 0.033s ▓ 1.00x (Fastest)
cli-next 3.637s ± 0.025s ▓ 1.00x

@DmitryAnansky DmitryAnansky marked this pull request as ready for review February 6, 2026 17:30
@DmitryAnansky DmitryAnansky requested review from a team as code owners February 6, 2026 17:30
@DmitryAnansky DmitryAnansky requested a review from tatomyr February 9, 2026 09:39
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
@DmitryAnansky DmitryAnansky merged commit 459423b into main Feb 9, 2026
42 checks passed
@DmitryAnansky DmitryAnansky deleted the feat/add-rules-to-check-outputs-to-be-defined branch February 9, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Arazzo rule or plugin to detect not defined output value

3 participants