Skip to content

zod v4 support #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wenerme opened this issue Apr 15, 2025 · 1 comment
Open

zod v4 support #298

wenerme opened this issue Apr 15, 2025 · 1 comment

Comments

@wenerme
Copy link

wenerme commented Apr 15, 2025

running with zod v4 will failed with

@asteasolutions/zod-to-openapi/dist/index.cjs:48
        const result = zodModifier.apply(this, args);
                                   ^

TypeError: Cannot read properties of undefined (reading 'apply')

v4 now support meta & jsonschema, this may make zod-to-openapi easier

@colinhacks
Copy link

linking my Zod 4 PR so people can find this tracking issue: colinhacks/zod#4074

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

No branches or pull requests

2 participants