We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51fde27 commit 2ae6304Copy full SHA for 2ae6304
src/core/plugins/oas3/helpers.jsx
@@ -7,8 +7,7 @@ export function isOAS30(jsSpec) {
7
const oasVersion = jsSpec.get("openapi")
8
9
return (
10
- typeof oasVersion === "string" &&
11
- /^3\.0\.(?:[1-9]\d*|0)$/.test(oasVersion)
+ typeof oasVersion === "string" && /^3\.0\.(?:[1-9]\d*|0)$/.test(oasVersion)
12
)
13
}
14
0 commit comments