Skip to content

Conversation

@marcalexiei
Copy link
Contributor


Previously, the code applied to all drafts except "draft-4".
Since openapi-3.0 doesn’t require propertyNames,
I inverted the condition to explicitly state when it should be included, rather than relying on exclusion.

@colinhacks colinhacks merged commit 5c5fa90 into colinhacks:main Aug 26, 2025
4 checks passed
@marcalexiei marcalexiei deleted the zod-openapi-record branch August 26, 2025 01:58
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 - record contains unexpected propertyNames property

2 participants