diff --git a/_includes/extension-entry.md b/_includes/extension-entry.md index e1028fb..2696674 100644 --- a/_includes/extension-entry.md +++ b/_includes/extension-entry.md @@ -8,7 +8,7 @@ ### Schema ```yaml -{{page.schema}} +{{page.schema|jsonify}} ``` ### Example diff --git a/registries/_extension/x-oai-traits.md b/registries/_extension/x-oai-traits.md new file mode 100644 index 0000000..cca0666 --- /dev/null +++ b/registries/_extension/x-oai-traits.md @@ -0,0 +1,22 @@ +--- +owner: ralfhandl +issue: +description: Identify in an OpenAPI Description where Overlay updates should be applied. +schema: + type: array + items: + type: string +layout: default +--- + +{% capture summary %} +The `x-oai-traits` extension is used identify places in an OpenAPI Description where Overlay updates should be applied. Its value is an array of strings, each string identifying a feature that an Overlay should apply. +{% endcapture %} + +{% capture example %} +See: + +* [Traits Example in Overlay Specification](https://spec.openapis.org/overlay/v1.0.0.html#traits-example) +{% endcapture %} + +{% include extension-entry.md summary=summary example=example %}