Skip to content

Commit d169e64

Browse files
authored
Merge pull request OAI#3799 from Bellangelo/encapsulate-page-layout
Encapsulate page layout
2 parents 43c324a + 8cb7ddb commit d169e64

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

_includes/alternative-schema-entry.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# <a href="..">{{ page.collection }}</a>
2+
3+
## {{ page.slug }} - {{ page.description }}
4+
5+
{{ page.summary }}
6+
7+
{% if page.issue %}
8+
### GitHub Issue
9+
10+
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
11+
{% endif %}

registries/_alternative-schema/jsonSchema.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22
owner: darrelmiller
33
issue: 1532
44
description: JSON Schema
5+
summary: The `{{ page.slug }}` `alternativeSchema` `type` refers to [JSON Schema](http://json-schema.org/) in any version.
56
layout: default
67
---
78

8-
# <a href="..">{{ page.collection }}</a>
9-
10-
## {{ page.slug }} - {{ page.description }}
11-
12-
The `{{ page.slug }}` `alternativeSchema` `type` refers to [JSON Schema](http://json-schema.org/) in any version.
13-
14-
{% if page.issue %}
15-
### GitHub Issue
16-
17-
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
18-
{% endif %}
9+
{% include alternative-schema-entry.md %}

registries/_alternative-schema/xmlSchema.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22
owner: darrelmiller
33
issue: 1532
44
description: xml Schema
5+
summary: The `{{ page.slug }}` `alternativeSchema` `type` refers to [xml Schema](https://www.w3.org/XML/Schema) in any version.
56
layout: default
67
---
78

8-
# <a href="..">{{ page.collection }}</a>
9-
10-
## {{ page.slug }} - {{ page.description }}
11-
12-
The `{{ page.slug }}` `alternativeSchema` `type` refers to [xml Schema](https://www.w3.org/XML/Schema) in any version.
13-
14-
{% if page.issue %}
15-
### GitHub Issue
16-
17-
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
18-
{% endif %}
9+
{% include alternative-schema-entry.md %}

0 commit comments

Comments
 (0)