fix(openapi-typescript): correct generated type when using `prefixItems`
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:examplesrun (only applicable for openapi-typescript)
⚠️ 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
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.