hey-api / openapi-ts

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

fix: make getHeaders() accept generic #708

Closed mrlubos closed 3 months ago

mrlubos commented 3 months ago

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

vercel[bot] commented 3 months 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 Jun 22, 2024 1:09am
changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 36cf95d319b175149d3b3ecc382b8d739186e658

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](https://github.com/hey-api/openapi-ts/new/fix/types-additional-headers?filename=.changeset/nervous-fans-carry.md&value=---%0A%22%40hey-api%2Fclient-axios%22%3A%20patch%0A%22%40hey-api%2Fopenapi-ts%22%3A%20patch%0A---%0A%0Afix%3A%20make%20getHeaders()%20accept%20generic%0A)

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 71.06%. Comparing base (c20c139) to head (36cf95d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #708 +/- ## ======================================= Coverage 71.06% 71.06% ======================================= Files 76 76 Lines 8034 8034 Branches 710 710 ======================================= Hits 5709 5709 Misses 2321 2321 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/708/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/708/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `71.06% <ø> (ø)` | | 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.

stackblitz[bot] commented 3 months ago

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