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: rewrite schemas to new parser #1180

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: ac986b93f2ab3210cacb462eb87a7ae85da99b19

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 21, 2024 6:28pm
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.37398% with 399 lines in your changes missing coverage. Please review.

Project coverage is 74.98%. Comparing base (2acbc80) to head (ac986b9). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...es/openapi-ts/src/plugins/@hey-api/types/plugin.ts 80.33% 224 Missing :warning:
...openapi-ts/src/plugins/@hey-api/services/plugin.ts 71.10% 139 Missing :warning:
.../openapi-ts/src/plugins/@hey-api/schemas/plugin.ts 82.52% 36 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1180 +/- ## ========================================== + Coverage 74.86% 74.98% +0.12% ========================================== Files 120 123 +3 Lines 16975 17205 +230 Branches 1680 1706 +26 ========================================== + Hits 12708 12902 +194 - Misses 4264 4300 +36 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1180/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/1180/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `74.98% <78.37%> (+0.12%)` | :arrow_up: | 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@1180
pnpm add https://pkg.pr.new/@hey-api/client-fetch@1180
pnpm add https://pkg.pr.new/@hey-api/openapi-ts@1180

commit: ac986b9