forked from wework/json-schema-to-openapi-schema
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
When running tests on Windows, step dereferencing schema with file references
(in dereference_schema.test.js) fails with the following error:
1) dereferencing schema with file references:
URIError: Invalid JSON Pointer syntax.
at decodeUriFragmentIdentifier (node_modules\@stoplight\json\index.cjs.js:1:6492)
at Object.pointerToPath (node_modules\@stoplight\json\index.cjs.js:1:6047)
at ResolveRunner.<anonymous> (node_modules\@stoplight\json-ref-resolver\runner.js:227:37)
at Generator.next (<anonymous>)
at D:\a\json-schema-to-openapi-schema\json-schema-to-openapi-schema\node_modules\tslib\tslib.js:113:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules\tslib\tslib.js:109:16)
at ResolveRunner.resolve (node_modules\@stoplight\json-ref-resolver\runner.js:216:24)
at ResolveRunner.<anonymous> (node_modules\@stoplight\json-ref-resolver\runner.js:147:63)
at Generator.next (<anonymous>)
at fulfilled (node_modules\tslib\tslib.js:110:62)
This can be reproduced by using windows-latest
instead of ubuntu-latest
in test.yml GitHub Action
Metadata
Metadata
Assignees
Labels
No labels