If your spec file is in yaml format and you have a SyntaxError, you still see the old message: > file.yaml is not a valid JSON Schema