redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Ajv reports an error on Windows with two references to the same common schema

Open AntonKozachuk opened this issue 1 year ago • 0 comments

Describe the bug Ajv reports an error on Windows with two references to the same common schema even though this use case is valid against OpenAPI (see screenshot below). Weren't able to reproduce this on macOS though.

To Reproduce Steps to reproduce the behavior:

  1. Given these files: redocly-lint (updated).zip
  2. Run lint command on Windows.
  3. See error.

image

Expected behavior The schema seems to valid so there no errors should be found.

Logs N/a

OpenAPI definition Shared above.

Redocly Version(s) 1.0.0-beta.105

Node.js Version(s) 14+

Additional context N/a

AntonKozachuk avatar Aug 05 '22 11:08 AntonKozachuk