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: add OpenAPI 3.0.x experimental parser #1230

Closed mrlubos closed 2 weeks ago

stackblitz[bot] commented 2 weeks ago

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

vercel[bot] commented 2 weeks 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 5, 2024 6:17pm
changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 3e65ae06bcd2823482cf012909388c7630e18229

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 2 weeks ago

Codecov Report

Attention: Patch coverage is 9.98711% with 1397 lines in your changes missing coverage. Please review.

Project coverage is 68.08%. Comparing base (2819097) to head (3e65ae0). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ages/openapi-ts/src/openApi/3.0.x/parser/schema.ts 6.74% 719 Missing :warning:
...kages/openapi-ts/src/openApi/3.0.x/parser/index.ts 5.90% 207 Missing :warning:
...s/openapi-ts/src/openApi/3.0.x/parser/operation.ts 10.48% 205 Missing :warning:
...s/openapi-ts/src/openApi/3.0.x/parser/parameter.ts 9.72% 167 Missing :warning:
.../openapi-ts/src/openApi/3.0.x/parser/pagination.ts 14.77% 75 Missing :warning:
...s/openapi-ts/src/openApi/3.0.x/parser/mediaType.ts 53.57% 13 Missing :warning:
...es/openapi-ts/src/plugins/@hey-api/types/plugin.ts 59.25% 10 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1230 +/- ## ========================================== - Coverage 73.19% 68.08% -5.12% ========================================== Files 127 132 +5 Lines 17706 19242 +1536 Branches 1732 1735 +3 ========================================== + Hits 12960 13101 +141 - Misses 4743 6137 +1394 - Partials 3 4 +1 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1230/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/1230/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `68.08% <9.98%> (-5.12%)` | :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.