Skip to content

Commit 8ab4f97

Browse files
add description to all schemas
in v3.1 the number of schemas increased considerably, which can be a bit confusing.
1 parent 1fb4f83 commit 8ab4f97

10 files changed

+10
-2
lines changed

schemas/v3.0/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "https://spec.openapis.org/oas/3.0/schema/2021-09-28",
33
"$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",
55
"type": "object",
66
"required": [
77
"openapi",

schemas/v3.0/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id: https://spec.openapis.org/oas/3.0/schema/2021-09-28
22
$schema: http://json-schema.org/draft-04/schema#
3-
description: Validation schema for OpenAPI Specification 3.0.X.
3+
description: The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3
44
type: object
55
required:
66
- openapi

schemas/v3.1/dialect/base.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "A JSON Schema dialect describing schemas found in OpenAPI documents",
23
"$id": "https://spec.openapis.org/oas/3.1/dialect/base",
34
"$schema": "https://json-schema.org/draft/2020-12/schema",
45
"$vocabulary": {

schemas/v3.1/dialect/base.schema.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: A JSON Schema dialect describing schemas found in OpenAPI documents
23
$dynamicAnchor: meta
34
$id: https://spec.openapis.org/oas/3.1/dialect/base
45
$schema: https://json-schema.org/draft/2020-12/schema

schemas/v3.1/meta/base.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "A JSON Schema Vocabulary used in the OpenAPI Schema Dialect",
23
"$id": "https://spec.openapis.org/oas/3.1/meta/base",
34
"$schema": "https://json-schema.org/draft/2020-12/schema",
45
"$vocabulary": {

schemas/v3.1/meta/base.schema.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: A JSON Schema Vocabulary used in the OpenAPI Schema Dialect
23
$defs:
34
discriminator:
45
$ref: '#/$defs/extensible'

schemas/v3.1/schema-base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "A dialect to use for schemas within OpenAPI documents",
23
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-09-28",
34
"$schema": "https://json-schema.org/draft/2020-12/schema",
45
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-09-28",

schemas/v3.1/schema-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
description: A dialect to use for schemas within OpenAPI documents
12
$id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-09-28'
23
$schema: 'https://json-schema.org/draft/2020-12/schema'
34

schemas/v3.1/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "The description of OpenAPI v3.1.x documents, as defined by https://spec.openapis.org/oas/v3.1.0",
23
"$id": "https://spec.openapis.org/oas/3.1/schema/2021-09-28",
34
"$schema": "https://json-schema.org/draft/2020-12/schema",
45
"type": "object",

schemas/v3.1/schema.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
description: The description of OpenAPI v3.1.x documents, as defined by https://spec.openapis.org/oas/v3.1.0
12
$id: 'https://spec.openapis.org/oas/3.1/schema/2021-09-28'
23
$schema: 'https://json-schema.org/draft/2020-12/schema'
34

0 commit comments

Comments
 (0)