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

refactor: move out legacy parser functions #1172

Closed mrlubos closed 1 month ago

stackblitz[bot] commented 1 month ago

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

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: ea51130ecb70620077211d0303fef262f527b31e

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

vercel[bot] commented 1 month 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 20, 2024 10:05am
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 82.51748% with 50 lines in your changes missing coverage. Please review.

Project coverage is 79.46%. Comparing base (4ff2429) to head (ea51130). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
packages/openapi-ts/src/generate/output.ts 78.00% 22 Missing :warning:
...napi-ts/src/plugins/@tanstack/query-core/plugin.ts 30.76% 9 Missing :warning:
packages/openapi-ts/src/generate/client.ts 61.11% 7 Missing :warning:
packages/openapi-ts/src/generate/services.ts 92.63% 7 Missing :warning:
packages/openapi-ts/src/generate/plugins.ts 28.57% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1172 +/- ## ========================================== - Coverage 79.53% 79.46% -0.07% ========================================== Files 115 115 Lines 15326 15381 +55 Branches 1619 1611 -8 ========================================== + Hits 12189 12222 +33 - Misses 3134 3156 +22 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1172/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/1172/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `79.46% <82.51%> (-0.07%)` | :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 1 month ago

Open in Stackblitz

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

commit: ea51130