Skip to content

Commit f9b0017

Browse files
committed
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.
1 parent 6572370 commit f9b0017

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
openapi: 3.2.0
2+
info:
3+
summary: Testing jsonSchemaDialect
4+
title: My API
5+
version: 1.0.0
6+
license:
7+
name: Apache 2.0
8+
identifier: Apache-2.0
9+
jsonSchemaDialect: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS
10+
components:
11+
schemas:
12+
WithDollarSchema:
13+
$id: "locked-metaschema"
14+
$schema: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS
15+
paths: {}

tests/schema/pass/mega.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ info:
66
license:
77
name: Apache 2.0
88
identifier: Apache-2.0
9-
jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base
109
paths:
1110
/:
1211
get:

0 commit comments

Comments
 (0)