feat(typescript): forward compatible unions, empty array query params; feat(ruby): union discriminator mappings; fix(all): RFC7578 multipart arrays (#1734)
Generator changes (1)
New features
typescriptv2
New gen.yaml flag forwardCompatibleUnionsByDefault controls forward compatibility for discriminated unions in responses. 'tagged-only' makes only discriminated unions open to unknown values. 'false' disables forward compatibility. Unknown discriminator values are returned as an object with the discriminator field set to a special 'UNKNOWN' string and a raw field containing the original input. Individual unions can be controlled with x-speakeasy-unknown-values: allow/disallow.