From fb1ae5ce679d6774409e47322341d3751b50fb91 Mon Sep 17 00:00:00 2001 From: "Henry H. Andrews" Date: Thu, 12 Jun 2025 16:01:14 -0700 Subject: [PATCH 1/2] Use matching jsonSchemaDialect Since we are testing with a placeholder, we need to match the placeholder. This will unfortunately need to be different on each new release line branch, so let's separate this test case into its own file. --- tests/schema/pass/json_schema_dialect.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/schema/pass/json_schema_dialect.yaml b/tests/schema/pass/json_schema_dialect.yaml index fa054c9b89..ae0ed863b3 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.1.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.1/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.1/dialect/WORK-IN-PROGRESS paths: {} From 574c1775e060d7b622c6b477864bb75806a8dff4 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Sat, 14 Jun 2025 21:21:19 +0200 Subject: [PATCH 2/2] Update json_schema_dialect.yaml --- tests/schema/pass/json_schema_dialect.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/schema/pass/json_schema_dialect.yaml b/tests/schema/pass/json_schema_dialect.yaml index ae0ed863b3..fa054c9b89 100644 --- a/tests/schema/pass/json_schema_dialect.yaml +++ b/tests/schema/pass/json_schema_dialect.yaml @@ -1,4 +1,4 @@ -openapi: 3.1.0 +openapi: 3.2.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.1/dialect/WORK-IN-PROGRESS +jsonSchemaDialect: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS components: schemas: WithDollarSchema: $id: "locked-metaschema" - $schema: https://spec.openapis.org/oas/3.1/dialect/WORK-IN-PROGRESS + $schema: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS paths: {}