diff --git a/index.md b/index.md index 2b80996f5b..f7a3881aea 100644 --- a/index.md +++ b/index.md @@ -31,17 +31,18 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers {% assign last_kind = "" %} {%- for file in schema_files -%} {%- assign segments = file.path | split: "/" -%} -{%- if segments[1] == "oas" and file.basename contains "-" -%} +{%- if segments[1] == "oas" -%} {%- if segments[2] != last_version -%} {%- assign last_version = segments[2] %} * **v{{ last_version }}** {%- endif -%} {%- if segments[3] != last_kind -%} {%- assign last_kind = segments[3] %} - * [**{{ last_kind }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/latest.html) + * [**view latest {{ last_kind }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/latest.html) + download iteration {%- assign separator = ": " -%} {%- endif -%} -{{ separator }} [{{ file.basename }}]({{ site.baseurl }}{{ file.path }}) +{{ separator }} [{{ file.basename | replace: "-", "‑" }}]({{ site.baseurl }}{{ file.path }}) {%- assign separator = ", " -%} {%- endif -%} {%- endfor %} diff --git a/oas/3.1/dialect/latest.md b/oas/3.1/dialect/latest.md new file mode 100644 index 0000000000..4b52139dcd --- /dev/null +++ b/oas/3.1/dialect/latest.md @@ -0,0 +1,9 @@ +--- +title: JSON Schema dialect for OpenAPI +layout: default +parent: Schemas +--- + +```json +{% include_relative base %} +``` \ No newline at end of file diff --git a/oas/3.1/meta/latest.md b/oas/3.1/meta/latest.md new file mode 100644 index 0000000000..ded5fa3aba --- /dev/null +++ b/oas/3.1/meta/latest.md @@ -0,0 +1,9 @@ +--- +title: JSON Schema Vocabulary used in OpenAPI +layout: default +parent: Schemas +--- + +```json +{% include_relative base %} +``` \ No newline at end of file