Skip to content

Commit 740fea8

Browse files
authored
Merge pull request #4939 from ralfhandl/gh-pages-refactor-start-page
gh-pages: Split off spec-specific index pages
2 parents 624e41b + 0d9a3ed commit 740fea8

File tree

4 files changed

+67
-34
lines changed

4 files changed

+67
-34
lines changed

arazzo/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Arazzo Specification
3+
description: Arazzo Specification
4+
layout: default
5+
---
6+
7+
# Arazzo Specification
8+
9+
## Specification Versions
10+
11+
{% include specification-version-list.md specification="arazzo" %}
12+
13+
## Schema Iterations
14+
15+
_Note that while schemas can catch many errors, they are not guaranteed to catch all specification violations. In the event of a disagreement between the schemas and the corresponding specification text, the specification text is presumed to be correct._
16+
17+
A minor release (e.g. v1.0) has one or more published schemas, identified with the release 1.0 and a revision date like 2024-12-16. All schemas for a given minor release apply to all patch releases within that minor release (e.g. 1.0.1, 1.0.0, etc.). The dates are purely a way to uniquely identify the revision, and are not intended to be correlated with patch release publication dates. The latest date within a minor release is always the most correct schema for all patch releases, and previous revisions are obsolete.
18+
19+
{% include schema-iteration-list.md specification="arazzo" %}

index.md

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
---
22
title: Home
3+
nav_order: 1
34
description: HTML Spec. and extensible registry
45
layout: default
56
---
67

78
# OpenAPI Initiative Publications
89

9-
This site contains the authoritative HTML renderings of the OpenAPI Initiative's [specifications](#specifications) and [extension registries](#registries), as well as official (but non-[normative](https://en.wikipedia.org/wiki/Normativity#Standards_documents)) [schemas](#non-normative-json-schemas) for those specifications that provide them.
10+
This site contains the authoritative HTML renderings of the OpenAPI Initiative's [specifications](#specifications) and [extension registries](#registries).
1011

1112
Please see the [Learn OpenAPI](https://learn.openapis.org) site for additional documentation and [examples](https://learn.openapis.org/examples/), and the [OpenAPI Tooling](https://tools.openapis.org/) site for community-provided lists of tools implementing the specifications.
1213

1314
## Specifications
1415

15-
### Arazzo Specification
16+
Each specification page lists all published specification versions and official (but non-[normative](https://en.wikipedia.org/wiki/Normativity#Standards_documents)) schema iterations.
1617

17-
{% include specification-version-list.md specification="arazzo" %}
18-
19-
### OpenAPI Specification
20-
21-
{% include specification-version-list.md specification="oas" %}
22-
* **[v2.0]({{ site.baseurl }}/oas/v2.0.html)**
23-
24-
### Overlay Specification
25-
26-
{% include specification-version-list.md specification="overlay" %}
18+
* [Arazzo Specification](./arazzo/)
19+
* [OpenAPI Specification](./oas/)
20+
* [Overlay Specification](./overlay/)
2721

2822
## Registries
2923

@@ -32,25 +26,3 @@ The [Registry Page](./registry/index.html) includes documentation as well as API
3226
Registry shortcuts:
3327
{% for registry in site.collections %}{% unless registry.hidden %}
3428
* <a href="registry/{{ registry.slug }}">{{ registry.name }}</a>{% endunless %}{% endfor %}
35-
36-
## Non-Normative JSON Schemas
37-
38-
_Note that while schemas can catch many errors, they are not guaranteed to catch all specification violations. In the event of a disagreement between the schemas and the corresponding specificaton text, the specification text is presumed to be correct._
39-
40-
A minor release (e.g. OAS 3.1) has one or more published schemas, identified with the release 3.1 and a revision date like 2021-03-02. All schemas for a given minor release apply to all patch releases within that minor release (e.g. 3.1.0, 3.1.1, 3.1.2, etc.). The dates are purely a way to uniquely identify the revision, and are not intended to be correlated with patch release publication dates. The latest date within a minor release is always the most correct schema for all patch releases, and previous versions are obsolete.
41-
42-
### Arazzo Schemas
43-
44-
{% include schema-iteration-list.md specification="arazzo" %}
45-
46-
### OpenAPI Specification Schemas
47-
48-
Note that the OAS 3.1+ `schema/YYYY-MM-DD` schemas do _not_ validate the Schema Object, as they make no assumptions about the JSON Schema dialect in use. The OAS 3.1+ `schema-base/YYYY-MM-DD` schemas _do_ validate the Schema Object, and require that if `jsonSchemaDialect` or `$schema` are present, that they use the appropriate `dialect/YYYY-MM-DD`. The name `schema-base` comes from the JSON Schema dialect including the OAS extensions being referred to as the "base dialect" in the specification.
49-
50-
See [issue #4147](https://github.com/OAI/OpenAPI-Specification/issues/4147) for discussion of other possible JSON Schema dialect options, [issue #4152](https://github.com/OAI/OpenAPI-Specification/issues/4152) for programmatic access to the latest schemas, and [issue #4141](https://github.com/OAI/OpenAPI-Specification/issues/4141) for discussions on possibly providing linting schemas that could catch likely problems that do not directly violate the specification.
51-
52-
{% include schema-iteration-list.md specification="oas" %}
53-
54-
### Overlay Specification Schemas
55-
56-
{% include schema-iteration-list.md specification="overlay" %}

oas/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: OpenAPI Specification
3+
description: OpenAPI Specification
4+
layout: default
5+
---
6+
7+
# OpenAPI Specification
8+
9+
## Specification Versions
10+
11+
{% include specification-version-list.md specification="oas" %}
12+
13+
## Schema Iterations
14+
15+
_Note that while schemas can catch many errors, they are not guaranteed to catch all specification violations. In the event of a disagreement between the schemas and the corresponding specification text, the specification text is presumed to be correct._
16+
17+
A minor release (e.g. v3.1) has one or more published schemas, identified with the release 3.1 and a revision date like 2021-03-02. All schemas for a given minor release apply to all patch releases within that minor release (e.g. 3.1.0, 3.1.1, 3.1.2, etc.). The dates are purely a way to uniquely identify the revision, and are not intended to be correlated with patch release publication dates. The latest date within a minor release is always the most correct schema for all patch releases, and previous revisions are obsolete.
18+
19+
Note that the v3.1+ `schema/YYYY-MM-DD` schemas do _not_ validate the Schema Object, as they make no assumptions about the JSON Schema dialect in use. The v3.1+ `schema-base/YYYY-MM-DD` schemas _do_ validate the Schema Object, and require that if `jsonSchemaDialect` or `$schema` are present, that they use the appropriate `dialect/YYYY-MM-DD`. The name `schema-base` comes from the JSON Schema dialect including the OAS extensions being referred to as the "base dialect" in the specification.
20+
21+
See [issue #4147](https://github.com/OAI/OpenAPI-Specification/issues/4147) for discussion of other possible JSON Schema dialect options, [issue #4152](https://github.com/OAI/OpenAPI-Specification/issues/4152) for programmatic access to the latest schemas, and [issue #4141](https://github.com/OAI/OpenAPI-Specification/issues/4141) for discussions on possibly providing linting schemas that could catch likely problems that do not directly violate the specification.
22+
23+
{% include schema-iteration-list.md specification="oas" %}

overlay/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Overlay Specification
3+
description: Overlay Specification
4+
layout: default
5+
---
6+
7+
# Overlay Specification
8+
9+
## Specification Versions
10+
11+
{% include specification-version-list.md specification="overlay" %}
12+
13+
## Schema Iterations
14+
15+
_Note that while schemas can catch many errors, they are not guaranteed to catch all specification violations. In the event of a disagreement between the schemas and the corresponding specification text, the specification text is presumed to be correct._
16+
17+
A minor release (e.g. v1.0) has one or more published schemas, identified with the release 1.0 and a revision date like 2024-10-22. All schemas for a given minor release apply to all patch releases within that minor release (e.g. 1.0.1, 1.0.0, etc.). The dates are purely a way to uniquely identify the revision, and are not intended to be correlated with patch release publication dates. The latest date within a minor release is always the most correct schema for all patch releases, and previous revisions are obsolete.
18+
19+
{% include schema-iteration-list.md specification="overlay" %}

0 commit comments

Comments
 (0)