Skip to content

Commit 3b35b07

Browse files
committed
Accept OpenAPI 3.*
1 parent 832f5e4 commit 3b35b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/plugins/oas3/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function isOAS3(jsSpec) {
66
return false
77
}
88

9-
return oasVersion.startsWith("3.0.0")
9+
return oasVersion.startsWith("3")
1010
}
1111

1212
export function isSwagger2(jsSpec) {

0 commit comments

Comments
 (0)