Description
Currently, we maintain two separate generated documentation sets for Elasticsearch APIs: one for stateful and another for serverless. Both sets are generated from the same specification, with no differences in the underlying source files. This duplication can be confusing, for example, when an example works in one context but not in the other.
Historically, the split was based on the assumption that stateful and serverless APIs would diverge quickly and significantly. Today, it seems that the differences are much smaller than we expected.
To reduce complexity and mitigate the problems that the two sets cause, we should reconsider consolidating these into a single API documentation set that serves both serverless and stateful environments.