matrix-spec/redocly.yaml
Kévin Commaille 302a2e2461
Silence redocly-cli rule checking examples
`$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 <zecakeh@tedomum.fr>
2025-10-24 12:04:54 +02:00

14 lines
432 B
YAML

# See https://redocly.com/docs/cli/configuration/ for more information.
extends:
- 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
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