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>pull/1781/head
parent
2ea8e0f514
commit
2678370f2c
@ -0,0 +1 @@
|
||||
Simplify uses of `resolve-refs` partial.
|
@ -1,10 +1,11 @@
|
||||
# See https://redocly.com/docs/cli/configuration/ for more information.
|
||||
extends:
|
||||
- minimal
|
||||
- recommended-strict
|
||||
rules:
|
||||
info-license: off
|
||||
security-defined: off
|
||||
operation-4xx-response: off
|
||||
no-invalid-media-type-examples: off
|
||||
no-path-trailing-slash: off
|
||||
operation-2xx-response: off
|
||||
operation-2xx-response: off
|
||||
spec-strict-refs: error
|
Loading…
Reference in New Issue