Skip to content

Commit 5948c36

Browse files
authored
Add v3.1 2021-04-15 schemas to website (#2545)
1 parent 8193ef8 commit 5948c36

File tree

3 files changed

+1368
-1
lines changed

3 files changed

+1368
-1
lines changed

oas/3.1/schema-base/2021-03-02

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"schema": {
1515
"$dynamicAnchor": "meta",
16-
"$ref\"": "https://spec.openapis.org/oas/3.1/dialect/base",
16+
"$ref": "https://spec.openapis.org/oas/3.1/dialect/base",
1717
"properties": {
1818
"$schema": {
1919
"$ref": "#/$defs/dialect"

oas/3.1/schema-base/2021-04-15

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-04-15",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-04-15",
5+
"properties": {
6+
"jsonSchemaDialect": {
7+
"$ref": "#/$defs/dialect"
8+
}
9+
},
10+
"$defs": {
11+
"dialect": {
12+
"const": "https://spec.openapis.org/oas/3.1/dialect/base"
13+
},
14+
"schema": {
15+
"$dynamicAnchor": "meta",
16+
"$ref": "https://spec.openapis.org/oas/3.1/dialect/base",
17+
"properties": {
18+
"$schema": {
19+
"$ref": "#/$defs/dialect"
20+
}
21+
}
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)