hey-api / openapi-ts

✨ Turn your OpenAPI specification into a beautiful TypeScript client
https://heyapi.vercel.app
Other
1.07k stars 89 forks source link

fix: avoid printing duplicate null nodes #1095

Closed mrlubos closed 3 days ago

mrlubos commented 3 days ago

Closes https://github.com/hey-api/openapi-ts/issues/968

stackblitz[bot] commented 3 days ago

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

changeset-bot[bot] commented 3 days ago

🦋 Changeset detected

Latest commit: 11ee53f4f519643ae7e3f0997ce4fe9b6cb050a8

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 | 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 3 days 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 Sep 26, 2024 2:36pm
codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.21%. Comparing base (6b4b117) to head (11ee53f). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1095 +/- ## ======================================= Coverage 81.21% 81.21% ======================================= Files 102 102 Lines 11503 11506 +3 Branches 1231 1233 +2 ======================================= + Hits 9342 9345 +3 Misses 2158 2158 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1095/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/1095/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `81.21% <100.00%> (+<0.01%)` | :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 3 days ago

Open in Stackblitz

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

commit: 11ee53f