We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c3cc3 commit 7f1ef9dCopy full SHA for 7f1ef9d
src/util/validateUtil.ts
@@ -78,7 +78,7 @@ export function detectSpecFormatPreference(
78
79
if (raw) {
80
const t = raw.trim();
81
- if (t.startsWith('{') || t.startsWith('[')) return 'auto';
+ if (t.startsWith('{') || t.startsWith('[')) return 'always';
82
if (/^\s*<\?xml|^\s*<[\w-]+[\s>]/i.test(t)) return 'never';
83
}
84
0 commit comments