Skip to content

fix: correctly generate array when items are a oneOf array with length 1#1266

Merged
mrlubos merged 1 commit into
mainfrom
fix/array-items-one-of-length-1
Nov 9, 2024
Merged

fix: correctly generate array when items are a oneOf array with length 1#1266
mrlubos merged 1 commit into
mainfrom
fix/array-items-one-of-length-1

Conversation

@mrlubos

@mrlubos mrlubos commented Nov 9, 2024

Copy link
Copy Markdown
Member

Closes #1258

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

@changeset-bot

changeset-bot Bot commented Nov 9, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d60d260

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

@vercel

vercel Bot commented Nov 9, 2024

Copy link
Copy Markdown

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 9, 2024 10:24pm

@mrlubos mrlubos marked this pull request as ready for review November 9, 2024 22:24
@codecov

codecov Bot commented Nov 9, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.63%. Comparing base (f31d4e2) to head (d60d260).
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% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1266   +/-   ##
=======================================
  Coverage   67.63%   67.63%           
=======================================
  Files         132      132           
  Lines       19682    19684    +2     
  Branches     1773     1775    +2     
=======================================
+ Hits        13311    13314    +3     
+ Misses       6367     6366    -1     
  Partials        4        4           
Flag Coverage Δ
unittests 67.63% <70.00%> (+<0.01%) ⬆️

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 04c88dd into main Nov 9, 2024
@mrlubos mrlubos deleted the fix/array-items-one-of-length-1 branch November 9, 2024 22:31
@github-actions github-actions Bot mentioned this pull request Nov 9, 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.

[experimentalParser] Array isn't Array anymore

1 participant