github Redocly/redocly-cli @redocly/cli@2.41.1

2 hours ago

Patch Changes

  • Fixed an issue where the drift command's schema-consistency rule reported false-positive findings for oneOf schemas with a discriminator.
    Payloads are validated only against the branch selected by the discriminator value instead of every oneOf branch.
    Schemas whose discriminator does not meet Ajv's structural requirements keep the previous behavior.
  • Extended the drift command's built-in undocumented-header ignore list with x-amz-, x-amzn- and x-github- prefixes, and the x-hub-signature / x-hub-signature-256 webhook signature headers.

Don't miss a new redocly-cli release

NewReleases is sending notifications on new releases.