We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa908d commit a8fc30dCopy full SHA for a8fc30d
test/unit/core/plugins/oas31/components/fn.js renamed to test/unit/core/plugins/oas31/fn.js
@@ -9,6 +9,7 @@ describe("isOAS31", function () {
9
it("should recognize valid OAS31 version values", function () {
10
expect(isOAS31Shorthand("3.1.0")).toEqual(true)
11
expect(isOAS31Shorthand("3.1.1")).toEqual(true)
12
+ expect(isOAS31Shorthand("3.1.12")).toEqual(true)
13
expect(isOAS31Shorthand("3.2.0")).toEqual(false)
14
expect(isOAS31Shorthand("3.0.0-rc0")).toEqual(false)
15
})
0 commit comments