Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(extensions): update latest extensions documentation #2320

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 21 additions & 17 deletions config/edit-page-config.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
4 changes: 4 additions & 0 deletions pages/docs/reference/extensions/_section.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Extensions
weight: 10
---
31 changes: 31 additions & 0 deletions pages/docs/reference/extensions/x.md
Original file line number Diff line number Diff line change
@@ -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
```