mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
d8626c2735
See https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ This is the adapter layer that will be included in the various model describers. The creation of the discriminator and the `oneOf` values is a little finicky and I wanted it to be tested and centralized.