Skip to content

feat: add filter-operations decorator#2555

Draft
tatomyr wants to merge 4 commits intomainfrom
feat/add-filter-operations-decorator
Draft

feat: add filter-operations decorator#2555
tatomyr wants to merge 4 commits intomainfrom
feat/add-filter-operations-decorator

Conversation

@tatomyr
Copy link
Collaborator

@tatomyr tatomyr commented Feb 10, 2026

What/Why/How?

  • Added filter-operations decorator that allows filtering operation which should be included in the resulting bundle.
  • Adjusted configuration for the remove-unused-components decorator to always be executed last.

Reference

Closes #2464

Related contribution: #2536

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 10, 2026

⚠️ No Changeset found

Latest commit: cfca83e

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
Contributor

github-actions bot commented Feb 10, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 79.44% (🎯 78%) 6335 / 7974
🔵 Statements 78.87% (🎯 78%) 6544 / 8297
🔵 Functions 83.37% (🎯 82%) 1299 / 1558
🔵 Branches 71.04% (🎯 70%) 4313 / 6071
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/decorators/common/filters/filter-operations.ts 89.47% 87.5% 100% 88.88% 22, 25
packages/core/src/decorators/oas2/index.ts 100% 100% 100% 100%
packages/core/src/decorators/oas3/index.ts 100% 100% 100% 100%
Generated in workflow #8619 for commit cfca83e by the Vitest Coverage Report Action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.508s ± 0.042s ▓ 1.00x (Fastest)
cli-next 3.511s ± 0.038s ▓ 1.00x

@tatomyr tatomyr force-pushed the feat/add-filter-operations-decorator branch from 3ee3743 to cfca83e Compare February 13, 2026 09:17
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.

Decorator to include only public items

1 participant