Skip to content

Commit 943f71b

Browse files
authored
Merge pull request #4005 from shockey/oas-301-support
Accept OpenAPI 3.*
2 parents eac6635 + 059520e commit 943f71b

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)