openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

fix(openapi-typescript): correct generated type when using `prefixItems`

Open zyoshoka opened this issue 1 year ago • 2 comments

Changes

Closes #1892

How to Review

Note that this PR also adds support for unevaluatedItems, which was supported in OAS 3.1.0.

Checklist

  • [x] Unit tests updated
  • [x] docs/ updated (if necessary)
  • [x] pnpm run update:examples run (only applicable for openapi-typescript)

zyoshoka avatar Aug 31 '24 08:08 zyoshoka

⚠️ No Changeset found

Latest commit: 909f2147d63769cc657d716ef7a68fb6787f8b88

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 31 '24 08:08 changeset-bot[bot]

Part of this PR is superseded by https://github.com/openapi-ts/openapi-typescript/pull/2148 I did not include support for unevaluatedItems, so this PR is likely worth revisiting once that work lands in order to add that support.

duncanbeevers avatar Feb 15 '25 22:02 duncanbeevers