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: handle 1XX response status codes #635

Closed mrlubos closed 4 months ago

mrlubos commented 4 months ago

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

stackblitz[bot] commented 4 months ago

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

vercel[bot] commented 4 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 May 27, 2024 7:45pm
changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 0b0994050dbcb6c17e8b78ca1c77738fc8e0d498

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 4 months ago

Codecov Report

Attention: Patch coverage is 91.89189% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 75.41%. Comparing base (7014e44) to head (0b09940).

Files Patch % Lines
packages/openapi-ts/src/utils/write/types.ts 0.00% 9 Missing :warning:
packages/openapi-ts/src/utils/write/type.ts 0.00% 6 Missing :warning:
.../openapi-ts/src/openApi/common/parser/operation.ts 94.59% 4 Missing :warning:
...-ts/src/openApi/v2/parser/getOperationResponses.ts 93.33% 1 Missing :warning:
...-ts/src/openApi/v3/parser/getOperationResponses.ts 93.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #635 +/- ## ========================================== - Coverage 75.45% 75.41% -0.04% ========================================== Files 75 74 -1 Lines 7312 7384 +72 Branches 663 684 +21 ========================================== + Hits 5517 5569 +52 - Misses 1792 1812 +20 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/635/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/635/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `75.41% <91.89%> (-0.04%)` | :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.