mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 01:58:36 +01:00
* Fix rendering of response examples Fixes the autogeneration of JSON examples for array objects. This fixes a number of "Specification error: Example invalid or not present" errors in the rendered spec. * Unbreak examples for non-objects/arrays The previous change had broken auto-generated examples for everything that wasn't an object or array; fix it up again. * Remove conditions on $example Everything should now have a generated example, so the condition is redundant. Furthermore it was suppressing examples for APIs where the example was an empty dict. |
||
|---|---|---|
| .. | ||
| changelogs | ||
| events | ||
| hooks | ||
| json-schema | ||
| openapi | ||
| added-in.html | ||
| alert.html | ||
| breadcrumb.html | ||
| changed-in.html | ||
| footer.html | ||
| navbar.html | ||
| sidebar-tree.html | ||
| version-banner.html | ||