File tree 7 files changed +1460
-5
lines changed
7 files changed +1460
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"id": "https://spec.openapis.org/oas/3.0/schema/2021-09-28",
3
3
"$schema": "http://json-schema.org/draft-04/schema#",
4
- "description": "Validation schema for OpenAPI Specification 3 .0.X. ",
4
+ "description": "The description of OpenAPI v3 .0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3 ",
5
5
"type": "object",
6
6
"required": [
7
7
"openapi",
Original file line number Diff line number Diff line change 1
1
{
2
2
"$id": "https://spec.openapis.org/oas/3.1/dialect/base",
3
3
"$schema": "https://json-schema.org/draft/2020-12/schema",
4
+
5
+ "title": "OpenAPI 3.1 Schema Object Dialect",
6
+ "description": "A JSON Schema dialect describing schemas found in OpenAPI documents",
7
+
4
8
"$vocabulary": {
5
9
"https://json-schema.org/draft/2020-12/vocab/core": true,
6
10
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
11
15
"https://json-schema.org/draft/2020-12/vocab/content": true,
12
16
"https://spec.openapis.org/oas/3.1/vocab/base": false
13
17
},
18
+
14
19
"$dynamicAnchor": "meta",
15
20
16
- "title": "OpenAPI 3.1 Schema Object Dialect",
17
21
"allOf": [
18
22
{ "$ref": "https://json-schema.org/draft/2020-12/schema" },
19
23
{ "$ref": "https://spec.openapis.org/oas/3.1/meta/base" }
Original file line number Diff line number Diff line change 1
1
{
2
2
"$id": "https://spec.openapis.org/oas/3.1/meta/base",
3
3
"$schema": "https://json-schema.org/draft/2020-12/schema",
4
+
5
+ "title": "OAS Base vocabulary",
6
+ "description": "A JSON Schema Vocabulary used in the OpenAPI Schema Dialect",
7
+
4
8
"$vocabulary": {
5
9
"https://spec.openapis.org/oas/3.1/vocab/base": true
6
10
},
11
+
7
12
"$dynamicAnchor": "meta",
8
- "title": "OAS Base vocabulary",
9
13
10
14
"type": ["object", "boolean"],
11
15
"properties": {
14
18
"externalDocs": { "$ref": "#/$defs/external-docs" },
15
19
"xml": { "$ref": "#/$defs/xml" }
16
20
},
21
+
17
22
"$defs": {
18
23
"extensible": {
19
24
"patternProperties": {
20
25
"^x-": true
21
26
}
22
27
},
28
+
23
29
"discriminator": {
24
30
"$ref": "#/$defs/extensible",
25
31
"type": "object",
37
43
"required": ["propertyName"],
38
44
"unevaluatedProperties": false
39
45
},
46
+
40
47
"external-docs": {
41
48
"$ref": "#/$defs/extensible",
42
49
"type": "object",
52
59
"required": ["url"],
53
60
"unevaluatedProperties": false
54
61
},
62
+
55
63
"xml": {
56
64
"$ref": "#/$defs/extensible",
57
65
"type": "object",
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id": "https://spec.openapis.org/oas/3.1/schema-base/2022-02-27",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+
5
+ "description": "The description of OpenAPI v3.1.x documents using the OpenAPI JSON Schema dialect, as defined by https://spec.openapis.org/oas/v3.1.0",
6
+
7
+ "$ref": "https://spec.openapis.org/oas/3.1/schema/2022-02-27",
8
+ "properties": {
9
+ "jsonSchemaDialect": { "$ref": "#/$defs/dialect" }
10
+ },
11
+
12
+ "$defs": {
13
+ "dialect": { "const": "https://spec.openapis.org/oas/3.1/dialect/base" },
14
+
15
+ "schema": {
16
+ "$dynamicAnchor": "meta",
17
+ "$ref": "https://spec.openapis.org/oas/3.1/dialect/base",
18
+ "properties": {
19
+ "$schema": { "$ref": "#/$defs/dialect" }
20
+ }
21
+ }
22
+ }
23
+ }
Original file line number Diff line number Diff line change 1
- 2021-09-28
1
+ 2022-02-27
You can’t perform that action at this time.
0 commit comments