diff --git a/_includes/alternative-schema-entry.md b/_includes/alternative-schema-entry.md new file mode 100644 index 0000000000..57446c9708 --- /dev/null +++ b/_includes/alternative-schema-entry.md @@ -0,0 +1,11 @@ +# {{ page.collection }} + +## {{ page.slug }} - {{ page.description }} + +{{ page.summary }} + +{% if page.issue %} +### GitHub Issue + +* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) +{% endif %} diff --git a/registries/_alternative-schema/jsonSchema.md b/registries/_alternative-schema/jsonSchema.md index 6f49ba65f2..c1f9e95cfc 100644 --- a/registries/_alternative-schema/jsonSchema.md +++ b/registries/_alternative-schema/jsonSchema.md @@ -2,17 +2,8 @@ owner: darrelmiller issue: 1532 description: JSON Schema +summary: The `{{ page.slug }}` `alternativeSchema` `type` refers to [JSON Schema](http://json-schema.org/) in any version. layout: default --- -# {{ page.collection }} - -## {{ page.slug }} - {{ page.description }} - -The `{{ page.slug }}` `alternativeSchema` `type` refers to [JSON Schema](http://json-schema.org/) in any version. - -{% if page.issue %} -### GitHub Issue - -* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) -{% endif %} +{% include alternative-schema-entry.md %} diff --git a/registries/_alternative-schema/xmlSchema.md b/registries/_alternative-schema/xmlSchema.md index f8da45a5e0..32614cbbe0 100644 --- a/registries/_alternative-schema/xmlSchema.md +++ b/registries/_alternative-schema/xmlSchema.md @@ -2,17 +2,8 @@ owner: darrelmiller issue: 1532 description: xml Schema +summary: The `{{ page.slug }}` `alternativeSchema` `type` refers to [xml Schema](https://www.w3.org/XML/Schema) in any version. layout: default --- -# {{ page.collection }} - -## {{ page.slug }} - {{ page.description }} - -The `{{ page.slug }}` `alternativeSchema` `type` refers to [xml Schema](https://www.w3.org/XML/Schema) in any version. - -{% if page.issue %} -### GitHub Issue - -* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }}) -{% endif %} +{% include alternative-schema-entry.md %}