diff --git a/config/edit-page-config.json b/config/edit-page-config.json index a622b600fac..dbd5fa50b9e 100644 --- a/config/edit-page-config.json +++ b/config/edit-page-config.json @@ -1,18 +1,22 @@ [ - { - "value": "/tools/generator", - "href": "https://github.com/asyncapi/generator/tree/master/docs" - }, - { - "value": "reference/specification/", - "href": "https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md" - }, - { - "value":"/tools/cli", - "href":"https://github.com/asyncapi/cli/tree/master/docs" - }, - { - "value": "", - "href": "https://github.com/asyncapi/website/blob/master/pages" - } -] + { + "value": "/tools/generator", + "href": "https://github.com/asyncapi/generator/tree/master/docs" + }, + { + "value": "reference/specification/", + "href": "https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md" + }, + { + "value": "/tools/cli", + "href": "https://github.com/asyncapi/cli/tree/master/docs" + }, + { + "value": "", + "href": "https://github.com/asyncapi/website/blob/master/pages" + }, + { + "value": "reference/extensions/", + "href": "https://github.com/asyncapi/extensions-catalog/tree/master/extensions" + } +] \ No newline at end of file diff --git a/pages/docs/reference/extensions/_section.md b/pages/docs/reference/extensions/_section.md new file mode 100644 index 00000000000..5e4249cbc90 --- /dev/null +++ b/pages/docs/reference/extensions/_section.md @@ -0,0 +1,4 @@ +--- +title: Extensions +weight: 10 +--- \ No newline at end of file diff --git a/pages/docs/reference/extensions/x.md b/pages/docs/reference/extensions/x.md new file mode 100644 index 00000000000..4950e2b395c --- /dev/null +++ b/pages/docs/reference/extensions/x.md @@ -0,0 +1,31 @@ +--- +title: 'x' +weight: 11 +--- + +# Twitter Extension +This document defines how to use `twitter` extension in AsyncAPI documents. + +## Overview +This extension allows you to provide the Twitter username of the account representing the team/company of the API. + +## Extension Definition + +### Type: String + +Name of the Twitter username. + +## Extension Location + +This extension can be used in the following locations: +- [Info Object](https://www.asyncapi.com/docs/reference/specification/v2.6.0#infoObject) + +## Example + +```yaml +asyncapi: '2.6.0' +info + title: Strretlights Kafka API + version: '1.0.0' + x-twitter: StreetLightData +```