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 `input.include` option #1241

Closed mrlubos closed 2 weeks ago

mrlubos commented 2 weeks ago

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

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 7, 2024 1:07pm
changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 41cee417055c50de6170e6fdeae65bd6e643d19c

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 | Minor |

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 68.71166% with 51 lines in your changes missing coverage. Please review.

Project coverage is 67.76%. Comparing base (3562159) to head (41cee41). Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...kages/openapi-ts/src/openApi/3.0.x/parser/index.ts 3.22% 30 Missing :warning:
packages/openapi-ts/src/index.ts 76.74% 10 Missing :warning:
...kages/openapi-ts/src/openApi/3.1.x/parser/index.ts 83.87% 5 Missing :warning:
...ages/openapi-ts/src/openApi/shared/utils/filter.ts 50.00% 4 Missing :warning:
...s/openapi-ts/src/openApi/3.0.x/parser/operation.ts 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1241 +/- ## ========================================== - Coverage 67.79% 67.76% -0.03% ========================================== Files 132 132 Lines 19397 19468 +71 Branches 1745 1750 +5 ========================================== + Hits 13150 13193 +43 - Misses 6243 6271 +28 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/1241/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/1241/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `67.76% <68.71%> (-0.03%)` | :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.