Document use of $ref to compose examples

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-03-29 15:20:02 +01:00
parent 415faa298b
commit 5aa67086b5
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -26,3 +26,8 @@ property, etc).
A variation of the above: indicates changes to the associated parameter in
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.