mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Silence redocly-cli rule checking examples (#2238)
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
974b0b721e
commit
74a0d5f289
1
changelogs/internal/newsfragments/2238.clarification
Normal file
1
changelogs/internal/newsfragments/2238.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Silence failing redocly-cli rule.
|
||||||
|
|
@ -9,3 +9,6 @@ rules:
|
||||||
no-path-trailing-slash: off
|
no-path-trailing-slash: off
|
||||||
operation-2xx-response: 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…
Reference in a new issue