developers
developers copied to clipboard
Support for arbitrary examples as "first class citizens" in the endpoint reference sidebar
Proposal: Let arbitrary example types occupy a space in the example
This would let multiple examples for a single language to exist on the bar. This could also allow us to introduce more complex examples (like multiple examples) with accompanying explanation text.
Quick example mockup
## Why
There is a disparity between streaming examples and "regular" language examples. A language can only have at most one code example.
In accounts-all, the streaming example is displayed as if it were content:

While the other examples get to occupy a tab:
