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: gracefully handle invalid schema type in experimental parser #1309

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

mrlubos
Copy link
Member

@mrlubos mrlubos commented Nov 18, 2024

No description provided.

Copy link

stackblitz bot commented Nov 18, 2024

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

@mrlubos mrlubos marked this pull request as ready for review November 18, 2024 18:52
Copy link

changeset-bot bot commented Nov 18, 2024

🦋 Changeset detected

Latest commit: 785480b

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 18, 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 18, 2024 6:52pm

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 34.28571% with 23 lines in your changes missing coverage. Please review.

Project coverage is 66.81%. Comparing base (a993b8e) to head (785480b).
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% 12 Missing ⚠️
...ages/openapi-ts/src/openApi/3.1.x/parser/schema.ts 50.00% 6 Missing ⚠️
...es/openapi-ts/src/plugins/@hey-api/types/plugin.ts 54.54% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1309      +/-   ##
==========================================
- Coverage   66.88%   66.81%   -0.07%     
==========================================
  Files         136      136              
  Lines       20215    20244      +29     
  Branches     1797     1799       +2     
==========================================
+ Hits        13520    13527       +7     
- Misses       6691     6713      +22     
  Partials        4        4              
Flag Coverage Δ
unittests 66.81% <34.28%> (-0.07%) ⬇️

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.


🚨 Try these New Features:

@mrlubos mrlubos merged commit cb30269 into main Nov 18, 2024
14 of 16 checks passed
@mrlubos mrlubos deleted the fix/invalid-type-handle branch November 18, 2024 19:10
@github-actions github-actions bot mentioned this pull request Nov 18, 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.

1 participant