Redocly/create-openapi-repo

`$ref`s are generated with the backslashes on Windows

romanpryshliak opened this issue · 0 comments

Describe the bug:

On Windows machines, the create-openapi-repo tool generates reference files with the backslashes.

To Reproduce:

  1. On a Windows machine run npx create-openapi-repo.
  2. Open an entrypoint and see that the references are generated with the backslashes.

backslashes issue

Expected behavior:

$refs have to be generated with the forward slashes.

Additional details:

  • the issue is reproducible with the latest OpenAPI-CLI version - 1.0.0-beta.82
  • the issue is not reproducible with the openapi split command

Front logo Front conversations