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

feat: add fastify plugin #1216

Closed jacobinu closed 1 week ago

jacobinu commented 3 weeks ago

1215

This pull request

stackblitz[bot] commented 3 weeks ago

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

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: c990fa2e8662d83449e5e1f30b910abfd66886bd

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

This PR includes changesets to release 1 package | Name | Type | | ------------------- | ----- | | @hey-api/openapi-ts | 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

vercel[bot] commented 3 weeks 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 Oct 31, 2024 4:44am
codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 63.04348% with 357 lines in your changes missing coverage. Please review.

Project coverage is 72.68%. Comparing base (13e0065) to head (7bed485). Report is 73 commits behind head on main.

Files with missing lines Patch % Lines
packages/openapi-ts/src/plugins/utils/types.ts 70.31% 206 Missing :warning:
packages/openapi-ts/src/plugins/fastify/plugin.ts 20.78% 141 Missing :warning:
...napi-ts/src/plugins/@tanstack/query-core/plugin.ts 30.00% 7 Missing :warning:
packages/openapi-ts/src/plugins/fastify/config.ts 83.33% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1216 +/- ## ========================================== - Coverage 73.15% 72.68% -0.48% ========================================== Files 125 129 +4 Lines 17662 17890 +228 Branches 1732 1733 +1 ========================================== + Hits 12921 13003 +82 - Misses 4738 4884 +146 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1216/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/1216/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `72.68% <63.04%> (-0.48%)` | :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.

pkg-pr-new[bot] commented 3 weeks ago

Open in Stackblitz

pnpm add https://pkg.pr.new/@hey-api/client-axios@1216
pnpm add https://pkg.pr.new/@hey-api/client-fetch@1216
pnpm add https://pkg.pr.new/@hey-api/openapi-ts@1216

commit: 7bed485