elastic / kibana

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

[Dashboards] Embeddables schema registry for Dashboard API validation #192622

Open nickpeihl opened 2 months ago

nickpeihl commented 2 months ago

Follow up to #192618

Implement a registry for embeddables to optionally register their configuration schemas for stricter validation and a better API schema definitions for the public Dashboards API. If a schema is not registered for an embeddable, the configuration will not be validated and the OpenAPI specification for that embeddable type will not be defined.

elasticmachine commented 2 months ago

Pinging @elastic/kibana-presentation (Team:Presentation)

thomasneirynck commented 1 month ago

offline feedback from @lukeelmers has raised some open questions around the introduction of validation after the release of MVP.

Questions to answer: