From 93f076c1a4d4a97a9ed94e5423450455d67cc828 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Sat, 20 Apr 2024 17:24:55 +0530 Subject: [PATCH 1/4] fix: updated the versions in x.md --- extensions/x.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/x.md b/extensions/x.md index 2eb5f19..b9cee72 100644 --- a/extensions/x.md +++ b/extensions/x.md @@ -16,12 +16,12 @@ 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) +- [Info Object](https://www.asyncapi.com/docs/reference/specification/v3.0.0#infoObject) ## Example ```yaml -asyncapi: '2.6.0' +asyncapi: '3.0.0' info title: Strretlights Kafka API version: '1.0.0' From 853935995c9f8bb9b8fbd1729b32545076798827 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Thu, 25 Apr 2024 14:11:21 +0530 Subject: [PATCH 2/4] fix: fixed the example in x.md --- extensions/x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/x.md b/extensions/x.md index b9cee72..a110e4e 100644 --- a/extensions/x.md +++ b/extensions/x.md @@ -25,5 +25,5 @@ asyncapi: '3.0.0' info title: Strretlights Kafka API version: '1.0.0' - x-twitter: StreetLightData + x-x: StreetLightData ``` From 16c5399fb2a4b0adac6794bb7ae5ab1ae30b9b45 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Thu, 25 Apr 2024 14:23:52 +0530 Subject: [PATCH 3/4] fix name changes --- extensions/x.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/x.md b/extensions/x.md index a110e4e..7f466b9 100644 --- a/extensions/x.md +++ b/extensions/x.md @@ -1,8 +1,8 @@ # Twitter Extension -This document defines how to use `twitter` extension in AsyncAPI documents. +This document defines how to use `x` extension in AsyncAPI documents. ## Overview -This extension allows you to provide the Twitter username of the account representing the team/company of the API. +This extension allows you to provide the Twitter/X username of the account representing the team/company of the API. ## Version Current version is `0.1.0`. @@ -11,7 +11,7 @@ Current version is `0.1.0`. ### Type: String -Name of the Twitter username. +Name of the Twitter/X username. ## Extension Location From 4c51d11539a8144315ca2abf7d39e1380bc715b0 Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Thu, 25 Apr 2024 11:03:55 +0200 Subject: [PATCH 4/4] Update extensions/x.md --- extensions/x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/x.md b/extensions/x.md index 7f466b9..6c2c0ca 100644 --- a/extensions/x.md +++ b/extensions/x.md @@ -1,4 +1,4 @@ -# Twitter Extension +# Twitter/X Extension This document defines how to use `x` extension in AsyncAPI documents. ## Overview