From 302a2e246153143162d8c7e276ccd3110d53e9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 24 Oct 2025 12:04:54 +0200 Subject: [PATCH] Silence redocly-cli rule checking examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `$ref` inside examples is non-compliant for OpenAPI / Json Schema, so this rule fails to check the examples properly. We already perform this check with `scripts/check-event-schema-examples.py`. Signed-off-by: Kévin Commaille --- redocly.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redocly.yaml b/redocly.yaml index 28dda2db..31dcfa41 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -8,4 +8,6 @@ rules: no-invalid-media-type-examples: off no-path-trailing-slash: off operation-2xx-response: off - spec-strict-refs: error \ No newline at end of file + spec-strict-refs: error + # $ref in examples are not spec-compliant so we perform this check in a python script. + no-invalid-schema-examples: off