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
Describe the bug
I think this a regression of the issue described in #260 (which is closed as resolved). When intersecting two schemas using allOf, where one of the schemas adds a required constraint to a property defined by the other scheme, the constraint is not represented in the generated code.
Describe the bug
I think this a regression of the issue described in #260 (which is closed as resolved). When intersecting two schemas using allOf, where one of the schemas adds a required constraint to a property defined by the other scheme, the constraint is not represented in the generated code.
Minimal reproduction
https://openapi-zod-client.vercel.app/?doc=PYBwpgdghiCWBcACAzAOgAyuQKFhAZsPNoogC6xkA2YSAogB5QC2IN2IUZAFgM7GkA9GTC8yA0ogDmYcSUmkATqJDAIvURIWkATOnRbtpAMZqREOUaMw2sY11hrBAK15rDVyb2PcwzKB6ekgAkyvhIAOQAxIKmrGqQZLyC3r7%2ByQAqAJ7gAEIR2HGqEIn88ql%2BUGUK2eAAgoFkObSIwABGzmDGZPIKIIqgYIoUmr3aAWNGTeBIeCIyipOSbYEK0y1zYAtjtWC5gVBUVADy4UukALTkzUjtnd3nksoAjgCusMoAJqvaV1CPV1CYHCiGisWA8RKFmSFXSgl2dQiQA
Expected behavior
In the given example, I would expect the resulting types to be
or something to the same effect.
The text was updated successfully, but these errors were encountered: