hey-api / openapi-ts

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

fix: do not transform property names for standalone clients #616

Closed mrlubos closed 4 months ago

mrlubos commented 4 months ago

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

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 24, 2024 1:49am
changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 735561c82dbe0979f2c175d274159c20ba8e622d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | ------------------------- | ----- | | @hey-api/client-fetch | Patch | | @hey-api/openapi-ts | Patch | | @example/openapi-ts-fetch | 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 24.03433% with 177 lines in your changes are missing coverage. Please review.

Project coverage is 75.45%. Comparing base (17b982c) to head (735561c).

Files Patch % Lines
packages/openapi-ts/src/utils/write/types.ts 0.59% 167 Missing :warning:
packages/openapi-ts/src/utils/write/type.ts 30.00% 7 Missing :warning:
...pi-ts/src/openApi/v2/parser/getModelComposition.ts 0.00% 1 Missing :warning:
...-ts/src/openApi/v2/parser/getOperationParameter.ts 85.71% 1 Missing :warning:
...-ts/src/openApi/v3/parser/getOperationParameter.ts 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #616 +/- ## ========================================== - Coverage 75.46% 75.45% -0.01% ========================================== Files 75 75 Lines 7270 7312 +42 Branches 660 663 +3 ========================================== + Hits 5486 5517 +31 - Misses 1781 1792 +11 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/hey-api/openapi-ts/pull/616/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/616/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hey-api) | `75.45% <24.03%> (-0.01%)` | :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.