diff --git a/changelogs/internal/newsfragments/2238.clarification b/changelogs/internal/newsfragments/2238.clarification new file mode 100644 index 00000000..b91abc53 --- /dev/null +++ b/changelogs/internal/newsfragments/2238.clarification @@ -0,0 +1 @@ +Silence failing redocly-cli rule. diff --git a/redocly.yaml b/redocly.yaml index 28dda2db..294d2f10 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -8,4 +8,7 @@ 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, yet we find them useful. Disable this rule + # and instead check example schema using `check-event-schema-examples.py` + no-invalid-schema-examples: off