Skip to content

Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…

25fdbb9
Select commit
Loading
Failed to load commit list.
Open

feat: implement msw plugin #3570

Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
25fdbb9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 29, 2026 in 0s

39.42% (-0.67%) compared to 2808f39

View this Pull Request on Codecov

39.42% (-0.67%) compared to 2808f39

Details

Codecov Report

❌ Patch coverage is 18.44262% with 398 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.42%. Comparing base (2808f39) to head (25fdbb9).
⚠️ Report is 154 commits behind head on main.

Files with missing lines Patch % Lines
examples/openapi-ts-fetch/src/client/msw.gen.ts 29.83% 112 Missing and 55 partials ⚠️
...kages/openapi-ts/src/plugins/msw/shared/handler.ts 1.58% 54 Missing and 8 partials ⚠️
.../src/plugins/msw/shared/computeDominantResponse.ts 8.92% 33 Missing and 18 partials ⚠️
packages/openapi-ts/src/plugins/msw/v2/plugin.ts 2.00% 48 Missing and 1 partial ⚠️
packages/openapi-ts/src/plugins/msw/shared/sort.ts 0.00% 14 Missing and 3 partials ⚠️
...ages/openapi-ts/src/plugins/msw/shared/response.ts 0.00% 13 Missing and 1 partial ⚠️
packages/shared/src/utils/url.ts 0.00% 5 Missing and 9 partials ⚠️
...ackages/openapi-ts/src/plugins/msw/shared/types.ts 0.00% 10 Missing ⚠️
packages/openapi-ts/src/plugins/msw/config.ts 28.57% 3 Missing and 2 partials ⚠️
packages/openapi-ts/src/plugins/msw/shared/path.ts 0.00% 4 Missing and 1 partial ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3570      +/-   ##
==========================================
- Coverage   40.08%   39.42%   -0.67%     
==========================================
  Files         522      545      +23     
  Lines       19323    20459    +1136     
  Branches     5761     6175     +414     
==========================================
+ Hits         7746     8065     +319     
- Misses       9374     9989     +615     
- Partials     2203     2405     +202     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.