-
Notifications
You must be signed in to change notification settings - Fork 68
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
Support for allOf & discriminator #29
Comments
@joeydebreuk thank you for using Saddly there is no such support right now. Basically with extended schemas we took the approach of just generating the full object (i.e duplicating their schemas). There is no problem when validating because if you already have Having said that I will take a more in depth look at your request when I find the time to research the generated zod schema from an extended object (if we have some metadata that we can use) and write back to you. |
…xtended-schemas Task/#29 add support for extended schemas
Hello again @joeydebreuk, We added support for extended schemas in the PR linked to your issue. The Please feel free to test it out by upgrading to version 1.4.0. Thany for using |
Thanks @AGalabov ! |
Is there support for
allOf
&discriminator
? If so, can you provide an example?EG I want to achieve spec:
The text was updated successfully, but these errors were encountered: