Skip to content

Commit cbd35ec

Browse files
committed
Update 3.1 schema id for patch release
1 parent 92df7ca commit cbd35ec

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

schemas/v3.1/schema-base.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-05-20",
2+
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-09-20",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
4-
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-05-20",
4+
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-09-20",
55
"properties": {
66
"jsonSchemaDialect": {
77
"$ref": "#/$defs/dialect"

schemas/v3.1/schema-base.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
$id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-05-20'
1+
$id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-09-20'
22
$schema: 'https://json-schema.org/draft/2020-12/schema'
33

4-
$ref: 'https://spec.openapis.org/oas/3.1/schema/2021-05-20'
4+
$ref: 'https://spec.openapis.org/oas/3.1/schema/2021-09-20'
55
properties:
66
jsonSchemaDialect:
77
$ref: '#/$defs/dialect'

schemas/v3.1/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://spec.openapis.org/oas/3.1/schema/2021-05-20",
2+
"$id": "https://spec.openapis.org/oas/3.1/schema/2021-09-20",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
44
"type": "object",
55
"properties": {

schemas/v3.1/schema.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$id: 'https://spec.openapis.org/oas/3.1/schema/2021-05-20'
1+
$id: 'https://spec.openapis.org/oas/3.1/schema/2021-09-20'
22
$schema: 'https://json-schema.org/draft/2020-12/schema'
33

44
type: object

tests/v3.1/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ before(async () => {
1414
JsonSchema.add(dialect);
1515
JsonSchema.add(vocabulary);
1616
JsonSchema.add(yaml.parse(fs.readFileSync(`${__dirname}/../../schemas/v3.1/schema.yaml`, "utf8"), { prettyErrors: true }));
17-
metaSchema = await JsonSchema.get("https://spec.openapis.org/oas/3.1/schema/2021-05-20");
17+
metaSchema = await JsonSchema.get("https://spec.openapis.org/oas/3.1/schema/2021-09-20");
1818
});
1919

2020
describe("v3.1 Pass", () => {

0 commit comments

Comments
 (0)