IBM/openapi-validator

Unexpected error "Skipping non-existent file"

Opened this issue ยท 2 comments

Not really sure what else to say ๐Ÿ˜…

image

Perhaps there's another problem and the error message is wrong?

Hmm it looks like you're running on Windows - is that correct? This issue has popped up before, the backslash confuses the code even though it should treat file separators generically

Yeah, Windows. Figured so, Windows accepts either slash so / works but native shells on Windows like PowerShell and Nushell tab-complete to the OS default of \.

Node.js has APIs for each operating system so you can switch the parser based on path.sep. Unfortunately it defaults to POSIX only but you can call path.win32 on Windows and path.posix on Linux.