mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Document use of $ref to compose examples
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
415faa298b
commit
5aa67086b5
|
|
@ -26,3 +26,8 @@ property, etc).
|
||||||
|
|
||||||
A variation of the above: indicates changes to the associated parameter in
|
A variation of the above: indicates changes to the associated parameter in
|
||||||
particular Matrix specification versions.
|
particular Matrix specification versions.
|
||||||
|
|
||||||
|
## Use of `$ref` inside examples
|
||||||
|
|
||||||
|
Although the OpenAPI/JSON Schema specs only allow to use `$ref` to reference a
|
||||||
|
whole example, we use it to compose examples from other examples.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue