Skip to content

Commit d1a2f0a

Browse files
committed
Change schema test fixtures openapi field to 3.2.0
1 parent 9f2a02b commit d1a2f0a

19 files changed

+19
-19
lines changed

tests/schema/fail/invalid_schema_types.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.1
1+
openapi: 3.2.0
22

33
# this example shows invalid types for the schemaObject
44

tests/schema/fail/no_containers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22

33
# this example should fail as there are no paths, components or webhooks containers (at least one of which must be present)
44

tests/schema/fail/server_enum_empty.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22

33
# this example should fail as the server variable enum is empty, and so does not contain the default value
44

tests/schema/fail/servers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22

33
# this example should fail, as servers must be an array, not an object
44

tests/schema/fail/unknown_container.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22

33
# this example should fail as overlays is not a valid top-level object/keyword
44

tests/schema/pass/comp_pathitems.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22
info:
33
title: API
44
version: 1.0.0

tests/schema/pass/info_summary.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22
info:
33
title: API
44
summary: My lovely API

tests/schema/pass/license_identifier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22
info:
33
title: API
44
summary: My lovely API

tests/schema/pass/mega.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22
info:
33
summary: My API's summary
44
title: My API

tests/schema/pass/minimal_comp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.2.0
22
info:
33
title: API
44
version: 1.0.0

0 commit comments

Comments
 (0)