Skip to content

feat: add openapi target to json schema #5052

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

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

colinhacks
Copy link
Owner

Summary

  • add an openapi-3.0 target to z.toJSONSchema
  • support nullable schemas and unions using OpenAPI nullable
  • document the new target

Testing

  • pnpm --filter zod test

https://chatgpt.com/codex/tasks/task_e_6892b797d7f4832f9b435a56a2693a6b

@colinhacks colinhacks changed the base branch from main to dev August 6, 2025 05:14
@colinhacks colinhacks merged commit b01b6f3 into dev Aug 6, 2025
4 checks passed
@colinhacks colinhacks deleted the codex/add-openapi-3.0-target-to-z.tojsonschema branch August 6, 2025 05:16
@samchungy
Copy link
Contributor

Oooooooooooo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants