You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same with me. Another way is .union([z.string(), z.null(), etc..]). But when you wanna edit that schema by calling it and to set that property to required it doesn't change anything it'd be still like string | null | etc
Hello,
I've just started using this library and have come across the following issue. Consider the following:
The Swagger UI looks like this:
And the JSON / Yaml it generates looks like this:
Not sure if this is a known bug, or whether I'm somehow doing something wrong?
In case it's relevant, I am using this within a Nest.js application, so the Swagger docs are being generated as per the documentation:
Thank you in advance.
The text was updated successfully, but these errors were encountered: