fork of hey-api/openapi-ts because I need some additional things

Fix discriminator union types for intermediate schemas master

Changed logic to include all child discriminator values in a union for intermediate schemas (e.g., CarDto now has $type: 'Car' | 'Volvo' instead of no discriminator). Removed unused helper function. Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>


+131 -117
4 changed files