Simplify uses of resolve-refs
partial (#1773)
* Use the resolve-refs partial as soon as possible Call it right after accessing the site.Data, since it is recursing it will solve all references in the tree. That way we don't need to wonder where to call it, we trust the validators that the refs will be used in the right place. * Enable strict $ref rule in OpenAPI validator * Document use of $ref to compose examples * Fix schema path in event-fields shortcode Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
2ea8e0f514
commit
2678370f2c
10 changed files with 22 additions and 31 deletions
1
changelogs/internal/newsfragments/1773.clarification
Normal file
1
changelogs/internal/newsfragments/1773.clarification
Normal file
|
@ -0,0 +1 @@
|
|||
Simplify uses of `resolve-refs` partial.
|
Loading…
Add table
Add a link
Reference in a new issue