Describe the bug
I think this a regression of the issue described in https://github.com/astahmer/openapi-zod-client/issues/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 https://github.com/astahmer/openapi-zod-client/issues/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.