mirror of
https://github.com/matrix-org/matrix-spec.git
synced 2026-01-11 19:46:27 +00:00
Silence redocly-cli rule checking examples (#2238)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
974b0b721e
commit
74a0d5f289
2 changed files with 5 additions and 1 deletions
1
changelogs/internal/newsfragments/2238.clarification
Normal file
1
changelogs/internal/newsfragments/2238.clarification
Normal file
|
|
@ -0,0 +1 @@
|
|||
Silence failing redocly-cli rule.
|
||||
|
|
@ -8,4 +8,7 @@ rules:
|
|||
no-invalid-media-type-examples: off
|
||||
no-path-trailing-slash: off
|
||||
operation-2xx-response: off
|
||||
spec-strict-refs: error
|
||||
spec-strict-refs: error
|
||||
# $ref in examples are not spec-compliant, yet we find them useful. Disable this rule
|
||||
# and instead check example schema using `check-event-schema-examples.py`
|
||||
no-invalid-schema-examples: off
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue