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

fix: handle file-like content media type without explicit schema #1305

Closed mrlubos closed 3 days ago

mrlubos commented 3 days ago

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

stackblitz[bot] commented 3 days ago

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

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 Nov 18, 2024 10:08am
changeset-bot[bot] commented 3 days ago

🦋 Changeset detected

Latest commit: a3698a7f1680d7dfb913c6253f8685ebbdd132ca

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

codecov[bot] commented 3 days ago

Codecov Report

Attention: Patch coverage is 44.79167% with 53 lines in your changes missing coverage. Please review.

Project coverage is 66.88%. Comparing base (2822bc4) to head (a3698a7). Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...s/openapi-ts/src/openApi/3.0.x/parser/mediaType.ts 14.63% 35 Missing :warning:
...s/openapi-ts/src/openApi/3.1.x/parser/mediaType.ts 62.85% 13 Missing :warning:
...s/openapi-ts/src/openApi/3.0.x/parser/operation.ts 16.66% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1305 +/- ## ========================================== - Coverage 66.96% 66.88% -0.09% ========================================== Files 136 136 Lines 20134 20215 +81 Branches 1791 1797 +6 ========================================== + Hits 13482 13520 +38 - Misses 6648 6691 +43 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1305/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/1305/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `66.88% <44.79%> (-0.09%)` | :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.