diff --git a/src/schemas/validation/schema.yaml b/src/schemas/validation/schema.yaml index 05e5704fe1..204e7b75ca 100644 --- a/src/schemas/validation/schema.yaml +++ b/src/schemas/validation/schema.yaml @@ -7,7 +7,7 @@ type: object properties: openapi: type: string - pattern: '^3\.2\.\d+(-.+)?$' + pattern: '^3\.3\.\d+(-.+)?$' $self: type: string format: uri-reference diff --git a/tests/schema/fail/encoding-enc-item-exclusion.yaml b/tests/schema/fail/encoding-enc-item-exclusion.yaml index e0c7e03b8e..917becb76f 100644 --- a/tests/schema/fail/encoding-enc-item-exclusion.yaml +++ b/tests/schema/fail/encoding-enc-item-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/encoding-enc-prefix-exclusion.yaml b/tests/schema/fail/encoding-enc-prefix-exclusion.yaml index 9ed8c09c18..c4de7c80a5 100644 --- a/tests/schema/fail/encoding-enc-prefix-exclusion.yaml +++ b/tests/schema/fail/encoding-enc-prefix-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/example-examples.yaml b/tests/schema/fail/example-examples.yaml index aa8227817d..a6d9fff5fa 100644 --- a/tests/schema/fail/example-examples.yaml +++ b/tests/schema/fail/example-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example should fail, as example cannot be used together with examples. diff --git a/tests/schema/fail/example-object-old-exclusions.yaml b/tests/schema/fail/example-object-old-exclusions.yaml index 37be07da1c..80aa458644 100644 --- a/tests/schema/fail/example-object-old-exclusions.yaml +++ b/tests/schema/fail/example-object-old-exclusions.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/example-object-old-vs-data.yaml b/tests/schema/fail/example-object-old-vs-data.yaml index f52e7feb0e..70ee6eb621 100644 --- a/tests/schema/fail/example-object-old-vs-data.yaml +++ b/tests/schema/fail/example-object-old-vs-data.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/example-object-old-vs-ser.yaml b/tests/schema/fail/example-object-old-vs-ser.yaml index 43ba991e4e..c0a15e75d5 100644 --- a/tests/schema/fail/example-object-old-vs-ser.yaml +++ b/tests/schema/fail/example-object-old-vs-ser.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/example-object-ser-exclusions.yaml b/tests/schema/fail/example-object-ser-exclusions.yaml index 3a6bc01e21..14f1651a3b 100644 --- a/tests/schema/fail/example-object-ser-exclusions.yaml +++ b/tests/schema/fail/example-object-ser-exclusions.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/invalid_schema_types.yaml b/tests/schema/fail/invalid_schema_types.yaml index b3aa50a6c8..71ad96258e 100644 --- a/tests/schema/fail/invalid_schema_types.yaml +++ b/tests/schema/fail/invalid_schema_types.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example shows invalid types for the schemaObject diff --git a/tests/schema/fail/media-type-enc-item-exclusion.yaml b/tests/schema/fail/media-type-enc-item-exclusion.yaml index 5bcf06a94d..5e7ea3843d 100644 --- a/tests/schema/fail/media-type-enc-item-exclusion.yaml +++ b/tests/schema/fail/media-type-enc-item-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/media-type-enc-prefix-exclusion.yaml b/tests/schema/fail/media-type-enc-prefix-exclusion.yaml index 2f19064c22..c72547a1c3 100644 --- a/tests/schema/fail/media-type-enc-prefix-exclusion.yaml +++ b/tests/schema/fail/media-type-enc-prefix-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/no_containers.yaml b/tests/schema/fail/no_containers.yaml index 3c38be021d..e25007554e 100644 --- a/tests/schema/fail/no_containers.yaml +++ b/tests/schema/fail/no_containers.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example should fail as there are no paths, components or webhooks containers (at least one of which must be present) diff --git a/tests/schema/fail/operation-object-query-with-querystring.yaml b/tests/schema/fail/operation-object-query-with-querystring.yaml index 5046d9c73c..a926fde6d9 100644 --- a/tests/schema/fail/operation-object-query-with-querystring.yaml +++ b/tests/schema/fail/operation-object-query-with-querystring.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/operation-object-two-querystrings.yaml b/tests/schema/fail/operation-object-two-querystrings.yaml index 35cebf0a3c..bde3411d69 100644 --- a/tests/schema/fail/operation-object-two-querystrings.yaml +++ b/tests/schema/fail/operation-object-two-querystrings.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/parameter-object-content-not-with-style.yaml b/tests/schema/fail/parameter-object-content-not-with-style.yaml index 7a16b89aa8..6663859918 100644 --- a/tests/schema/fail/parameter-object-content-not-with-style.yaml +++ b/tests/schema/fail/parameter-object-content-not-with-style.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/parameter-object-querystring-not-with-schema.yaml b/tests/schema/fail/parameter-object-querystring-not-with-schema.yaml index 4f4cf98666..b9235f12b6 100644 --- a/tests/schema/fail/parameter-object-querystring-not-with-schema.yaml +++ b/tests/schema/fail/parameter-object-querystring-not-with-schema.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/path-item-object-conflicting-additional-operation.yaml b/tests/schema/fail/path-item-object-conflicting-additional-operation.yaml index f068406b68..760db8d0e0 100644 --- a/tests/schema/fail/path-item-object-conflicting-additional-operation.yaml +++ b/tests/schema/fail/path-item-object-conflicting-additional-operation.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/path-item-object-query-with-querystring.yaml b/tests/schema/fail/path-item-object-query-with-querystring.yaml index 6efbda4468..6f1e2686f0 100644 --- a/tests/schema/fail/path-item-object-query-with-querystring.yaml +++ b/tests/schema/fail/path-item-object-query-with-querystring.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/path-item-object-two-querystrings.yaml b/tests/schema/fail/path-item-object-two-querystrings.yaml index daf5caa494..0880a72b28 100644 --- a/tests/schema/fail/path-item-object-two-querystrings.yaml +++ b/tests/schema/fail/path-item-object-two-querystrings.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/server_enum_empty.yaml b/tests/schema/fail/server_enum_empty.yaml index db4b970ced..60aedc5a39 100644 --- a/tests/schema/fail/server_enum_empty.yaml +++ b/tests/schema/fail/server_enum_empty.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example should fail as the server variable enum is empty, and so does not contain the default value diff --git a/tests/schema/fail/servers.yaml b/tests/schema/fail/servers.yaml index 1b5e2d5fc8..b201708319 100644 --- a/tests/schema/fail/servers.yaml +++ b/tests/schema/fail/servers.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example should fail, as servers must be an array, not an object diff --git a/tests/schema/fail/unknown_container.yaml b/tests/schema/fail/unknown_container.yaml index c0a4b8bb7e..0708c3a673 100644 --- a/tests/schema/fail/unknown_container.yaml +++ b/tests/schema/fail/unknown_container.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 # this example should fail as overlays is not a valid top-level object/keyword diff --git a/tests/schema/fail/xml-attr-exclusion.yaml b/tests/schema/fail/xml-attr-exclusion.yaml index b48a02d1a5..66a0bc3029 100644 --- a/tests/schema/fail/xml-attr-exclusion.yaml +++ b/tests/schema/fail/xml-attr-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/fail/xml-wrapped-exclusion.yaml b/tests/schema/fail/xml-wrapped-exclusion.yaml index 74f8ea512e..8fd1151136 100644 --- a/tests/schema/fail/xml-wrapped-exclusion.yaml +++ b/tests/schema/fail/xml-wrapped-exclusion.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/callback-object-examples.yaml b/tests/schema/pass/callback-object-examples.yaml index 7a7f86f070..9c4e7c191f 100644 --- a/tests/schema/pass/callback-object-examples.yaml +++ b/tests/schema/pass/callback-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/comp_pathitems.yaml b/tests/schema/pass/comp_pathitems.yaml index 5178c1f56b..714370a565 100644 --- a/tests/schema/pass/comp_pathitems.yaml +++ b/tests/schema/pass/comp_pathitems.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/components-object-example.yaml b/tests/schema/pass/components-object-example.yaml index 33a56e608f..6f3aec8dc4 100644 --- a/tests/schema/pass/components-object-example.yaml +++ b/tests/schema/pass/components-object-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/example-object-examples.yaml b/tests/schema/pass/example-object-examples.yaml index af8cc255f0..de6998d4b9 100644 --- a/tests/schema/pass/example-object-examples.yaml +++ b/tests/schema/pass/example-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/header-object-examples.yaml b/tests/schema/pass/header-object-examples.yaml index 4122c75c61..22c3941d9a 100644 --- a/tests/schema/pass/header-object-examples.yaml +++ b/tests/schema/pass/header-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/info-object-example.yaml b/tests/schema/pass/info-object-example.yaml index 1d36bef06c..aebef5cb04 100644 --- a/tests/schema/pass/info-object-example.yaml +++ b/tests/schema/pass/info-object-example.yaml @@ -1,5 +1,5 @@ # including External Documentation Object Example -openapi: 3.2.0 +openapi: 3.3.0 $self: https://example.com/openapi info: title: Example Pet Store App diff --git a/tests/schema/pass/info_summary.yaml b/tests/schema/pass/info_summary.yaml index 6697751d56..0081866f89 100644 --- a/tests/schema/pass/info_summary.yaml +++ b/tests/schema/pass/info_summary.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API summary: My lovely API diff --git a/tests/schema/pass/json_schema_dialect.yaml b/tests/schema/pass/json_schema_dialect.yaml index fa054c9b89..2cd05d178d 100644 --- a/tests/schema/pass/json_schema_dialect.yaml +++ b/tests/schema/pass/json_schema_dialect.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: summary: Testing jsonSchemaDialect title: My API @@ -6,10 +6,10 @@ info: license: name: Apache 2.0 identifier: Apache-2.0 -jsonSchemaDialect: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS +jsonSchemaDialect: https://spec.openapis.org/oas/3.3/dialect/WORK-IN-PROGRESS components: schemas: WithDollarSchema: $id: "locked-metaschema" - $schema: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS + $schema: https://spec.openapis.org/oas/3.3/dialect/WORK-IN-PROGRESS paths: {} diff --git a/tests/schema/pass/license_identifier.yaml b/tests/schema/pass/license_identifier.yaml index 20d5e4368e..79696f06d7 100644 --- a/tests/schema/pass/license_identifier.yaml +++ b/tests/schema/pass/license_identifier.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API summary: My lovely API diff --git a/tests/schema/pass/link-object-examples.yaml b/tests/schema/pass/link-object-examples.yaml index 9d471f0a03..a87e22f441 100644 --- a/tests/schema/pass/link-object-examples.yaml +++ b/tests/schema/pass/link-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/media-type-examples.yaml b/tests/schema/pass/media-type-examples.yaml index 6ace84a8d5..bc97ee8f39 100644 --- a/tests/schema/pass/media-type-examples.yaml +++ b/tests/schema/pass/media-type-examples.yaml @@ -1,5 +1,5 @@ # including Encoding Object examples -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/mega.yaml b/tests/schema/pass/mega.yaml index 8304fbe199..6170b1dff5 100644 --- a/tests/schema/pass/mega.yaml +++ b/tests/schema/pass/mega.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: summary: My API's summary title: My API diff --git a/tests/schema/pass/minimal_comp.yaml b/tests/schema/pass/minimal_comp.yaml index 8f81f7e05e..98c610a714 100644 --- a/tests/schema/pass/minimal_comp.yaml +++ b/tests/schema/pass/minimal_comp.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/minimal_hooks.yaml b/tests/schema/pass/minimal_hooks.yaml index 0e44257ad0..a5089aeedf 100644 --- a/tests/schema/pass/minimal_hooks.yaml +++ b/tests/schema/pass/minimal_hooks.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/minimal_paths.yaml b/tests/schema/pass/minimal_paths.yaml index c332bba18c..f29428f69b 100644 --- a/tests/schema/pass/minimal_paths.yaml +++ b/tests/schema/pass/minimal_paths.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/non-oauth-scopes.yaml b/tests/schema/pass/non-oauth-scopes.yaml index 45506616b4..ebd705f8cc 100644 --- a/tests/schema/pass/non-oauth-scopes.yaml +++ b/tests/schema/pass/non-oauth-scopes.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: Non-oAuth Scopes example version: 1.0.0 diff --git a/tests/schema/pass/operation-object-example.yaml b/tests/schema/pass/operation-object-example.yaml index 1e5bac29f1..246eff7445 100644 --- a/tests/schema/pass/operation-object-example.yaml +++ b/tests/schema/pass/operation-object-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/parameter-object-examples.yaml b/tests/schema/pass/parameter-object-examples.yaml index 8a3db655ba..feaf6d449f 100644 --- a/tests/schema/pass/parameter-object-examples.yaml +++ b/tests/schema/pass/parameter-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/path-item-object-example.yaml b/tests/schema/pass/path-item-object-example.yaml index 0ecc2d64fa..a691a9e9e8 100644 --- a/tests/schema/pass/path-item-object-example.yaml +++ b/tests/schema/pass/path-item-object-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/path_item_servers_parameters.yaml b/tests/schema/pass/path_item_servers_parameters.yaml index 7cedc5d16c..8fd1919323 100644 --- a/tests/schema/pass/path_item_servers_parameters.yaml +++ b/tests/schema/pass/path_item_servers_parameters.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/path_no_response.yaml b/tests/schema/pass/path_no_response.yaml index e4876799c9..344d7a2664 100644 --- a/tests/schema/pass/path_no_response.yaml +++ b/tests/schema/pass/path_no_response.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/path_var_empty_pathitem.yaml b/tests/schema/pass/path_var_empty_pathitem.yaml index e79b7cd4fe..0a4dbd79ab 100644 --- a/tests/schema/pass/path_var_empty_pathitem.yaml +++ b/tests/schema/pass/path_var_empty_pathitem.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/paths-object-example.yaml b/tests/schema/pass/paths-object-example.yaml index 2ee08e581e..d580f13a1d 100644 --- a/tests/schema/pass/paths-object-example.yaml +++ b/tests/schema/pass/paths-object-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/request-body-examples.yaml b/tests/schema/pass/request-body-examples.yaml index 4da1d41bd4..426f6d3cc1 100644 --- a/tests/schema/pass/request-body-examples.yaml +++ b/tests/schema/pass/request-body-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/response-object-examples.yaml b/tests/schema/pass/response-object-examples.yaml index f55d5733ed..59f5372fed 100644 --- a/tests/schema/pass/response-object-examples.yaml +++ b/tests/schema/pass/response-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/schema-object-deprecated-example-keyword.yaml b/tests/schema/pass/schema-object-deprecated-example-keyword.yaml index 969e66f283..898734914e 100644 --- a/tests/schema/pass/schema-object-deprecated-example-keyword.yaml +++ b/tests/schema/pass/schema-object-deprecated-example-keyword.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/schema.yaml b/tests/schema/pass/schema.yaml index a6d72b9972..cadde9243a 100644 --- a/tests/schema/pass/schema.yaml +++ b/tests/schema/pass/schema.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/security-scheme-object-examples.yaml b/tests/schema/pass/security-scheme-object-examples.yaml index d3472d5a32..3e3caa3748 100644 --- a/tests/schema/pass/security-scheme-object-examples.yaml +++ b/tests/schema/pass/security-scheme-object-examples.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/servers.yaml b/tests/schema/pass/servers.yaml index 07992113bf..e8e059196e 100644 --- a/tests/schema/pass/servers.yaml +++ b/tests/schema/pass/servers.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/specification-extensions.yaml b/tests/schema/pass/specification-extensions.yaml index 8148462f83..9522e8b457 100644 --- a/tests/schema/pass/specification-extensions.yaml +++ b/tests/schema/pass/specification-extensions.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/tag-object-example.yaml b/tests/schema/pass/tag-object-example.yaml index 6e740c8df0..45190d9f1e 100644 --- a/tests/schema/pass/tag-object-example.yaml +++ b/tests/schema/pass/tag-object-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: API version: 1.0.0 diff --git a/tests/schema/pass/valid_schema_types.yaml b/tests/schema/pass/valid_schema_types.yaml index 43e7cdc782..d849a415d7 100644 --- a/tests/schema/pass/valid_schema_types.yaml +++ b/tests/schema/pass/valid_schema_types.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.1 +openapi: 3.3.0 # this example shows that top-level schemaObjects MAY be booleans diff --git a/tests/schema/pass/webhook-example.yaml b/tests/schema/pass/webhook-example.yaml index c0b505ac63..c34588d059 100644 --- a/tests/schema/pass/webhook-example.yaml +++ b/tests/schema/pass/webhook-example.yaml @@ -1,4 +1,4 @@ -openapi: 3.2.0 +openapi: 3.3.0 info: title: Webhook Example version: 1.0.0 diff --git a/tests/schema/schema.test.mjs b/tests/schema/schema.test.mjs index ad42b15e71..a9ee76f392 100644 --- a/tests/schema/schema.test.mjs +++ b/tests/schema/schema.test.mjs @@ -13,12 +13,12 @@ await registerOasSchema(); await registerSchema("./src/schemas/validation/schema.yaml"); const fixtures = './tests/schema'; -describe("v3.2", () => { +describe("v3.3", () => { test("schema.yaml schema test", async () => { // Files in the pass/fail folders get run against schema-base.yaml. // This instance is instead run against schema.yaml. const oad = { - openapi: "3.2.0", + openapi: "3.3.0", info: { title: "API", version: "1.0.0"