hey-api / openapi-ts

🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more. Support: @mrlubos
https://heyapi.dev
Other
1.39k stars 107 forks source link

fix: make Zod plugin available in plugins options #1316

Closed mrlubos closed 1 day ago

stackblitz[bot] commented 1 day ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

changeset-bot[bot] commented 1 day ago

🦋 Changeset detected

Latest commit: a79fac8919ed29eec7195cbd441ffa38b559d63c

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

This PR includes changesets to release 2 packages | Name | Type | | ------------------- | ----- | | @hey-api/docs | Patch | | @hey-api/openapi-ts | Patch |

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

vercel[bot] commented 1 day ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hey-api-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 6:34pm
codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 28.76712% with 312 lines in your changes missing coverage. Please review.

Project coverage is 65.23%. Comparing base (3e514d6) to head (a79fac8). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
packages/openapi-ts/src/plugins/zod/plugin.ts 4.09% 211 Missing :warning:
...kages/openapi-ts/src/openApi/3.0.x/parser/index.ts 0.00% 82 Missing :warning:
...ages/openapi-ts/src/openApi/shared/utils/filter.ts 50.00% 13 Missing :warning:
...kages/openapi-ts/src/openApi/3.1.x/parser/index.ts 92.68% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1316 +/- ## ========================================== - Coverage 65.64% 65.23% -0.41% ========================================== Files 138 138 Lines 20762 21053 +291 Branches 1806 1816 +10 ========================================== + Hits 13629 13734 +105 - Misses 7129 7315 +186 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1316/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1316/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `65.23% <28.76%> (-0.41%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: