elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

Support `discriminator` #181994

Open jloleysens opened 5 months ago

jloleysens commented 5 months ago

See OpenAPI docs https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism. This would be helpful with APIs that have a large number of possible request/response pairs that need to be mapped in some way.

elasticmachine commented 5 months ago

Pinging @elastic/kibana-core (Team:Core)

jloleysens commented 5 months ago

Spoke with @lcawl and decided to deprioritise this for now

lcawl commented 1 month ago

This feature seems likely to be revisited in the next OAS release per https://github.com/OAI/sig-moonwalk/discussions/57