Replies: 2 comments
-
This would be a great feature. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have added support for this in #3518. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're open to PR'ing this in but before we do I'm curious if there's interest in a
.example()
method that like.describe()
adds anexample
property into theZodTypeDef
interface so that tooling likezod-to-json-schema
could generate JSON Schema representations with examples.For example:
Beta Was this translation helpful? Give feedback.
All reactions