Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle nullable enums in experimental parser #1248

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

mrlubos
Copy link
Member

@mrlubos mrlubos commented Nov 8, 2024

Closes #1246

Copy link

stackblitz bot commented Nov 8, 2024

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

Copy link

changeset-bot bot commented Nov 8, 2024

🦋 Changeset detected

Latest commit: 61cd848

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

Copy link

vercel bot commented Nov 8, 2024

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 8, 2024 2:12am

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 40.32258% with 37 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@de21dfd). Learn more about missing BASE report.
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ages/openapi-ts/src/openApi/3.0.x/parser/schema.ts 0.00% 30 Missing ⚠️
...ages/openapi-ts/src/openApi/3.1.x/parser/schema.ts 77.77% 6 Missing ⚠️
packages/openapi-ts/src/openApi/index.ts 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1248   +/-   ##
=======================================
  Coverage        ?   67.69%           
=======================================
  Files           ?      132           
  Lines           ?    19491           
  Branches        ?     1749           
=======================================
  Hits            ?    13195           
  Misses          ?     6292           
  Partials        ?        4           
Flag Coverage Δ
unittests 67.69% <40.32%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mrlubos mrlubos merged commit be27628 into main Nov 8, 2024
16 checks passed
@mrlubos mrlubos deleted the fix/parser-enum-null branch November 8, 2024 02:20
@github-actions github-actions bot mentioned this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nullable enum support
1 participant