Closed
Description
The example here https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ can map cleanly to a sum type in typescript. I don't believe the discriminator is currently analyzed however. This would enable narrowing in the client for polymorphic objects.