Skip to content

Conversation

marcalexiei
Copy link
Contributor


In #5145 I forgot that items shouldn't be an array...
but an object with a oneOf property which is the array containing the items:

image

Sorry about the fuss 😅

@marcalexiei
Copy link
Contributor Author

I have pushed a commit with a test for draft-7 but #5152 address it better so I removed it.

@colinhacks colinhacks merged commit 0cf4589 into colinhacks:main Aug 25, 2025
3 checks passed
@colinhacks
Copy link
Owner

Thanks for all your work on these! Your PRs have all landed in 4.1.3 👍

@marcalexiei marcalexiei deleted the zod-openapi-tuple branch August 26, 2025 02:06
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.

[v4] toJSONSchema - openapi-3.0 - wrong tuple output
2 participants