no-unresolved-refs should be case-sensitive
$ref values are URI and URI are case-sensitive, therefore, no-unresolved-refs should be case-sensitive.
It seems to vary with the OS at the moment (case-insensitive on Windows).
Hi @CidTori! The rule itself relies on resolving refs on the current filesystem. As far as I'm aware, the Windows system is case-insensitive, so the refs are getting resolved successfully. Could you elaborate on your case? What's the issue?
My problem is that a working openapi file on my (Windows) dev system can break on the CI or in production (with Linux machines). Linters like Redocly are the only way to know that there is a case mismatch locally (when using Windows), before pushing. And since the spec says it's case-sensitive, it can't hurt.
That makes sense. Thanks for sharing.