From fa944f825f91ce570af97682f404f8b74e9b77d3 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Thu, 18 Apr 2024 17:08:43 +0530 Subject: [PATCH 1/3] feat: add linkedin extension --- extensions/linkedin.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extensions/linkedin.md diff --git a/extensions/linkedin.md b/extensions/linkedin.md new file mode 100644 index 0000000..ed628cf --- /dev/null +++ b/extensions/linkedin.md @@ -0,0 +1,29 @@ +# Linkedin Extension +This document defines how to use `linkedin` extension in AsyncAPI documents. + +## Overview +This extension allows you to provide the Linkedin username of the account representing the team/company of the API. + +## Version +Current version is `0.1.0`. + +## Extension Definition + +### Type: String + +Name of the Linkedin 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-linkedin: StreetLightData +``` \ No newline at end of file From 26adc9d3c093c519b4d067f0ca4361dc6daf27b3 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Sat, 20 Apr 2024 17:19:54 +0530 Subject: [PATCH 2/3] feat: add linkedin extension support --- extensions/linkedin.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/linkedin.md b/extensions/linkedin.md index ed628cf..1645332 100644 --- a/extensions/linkedin.md +++ b/extensions/linkedin.md @@ -11,19 +11,19 @@ Current version is `0.1.0`. ### Type: String -Name of the Linkedin username. +URL of the Linkedin Profile of the user or company. ## 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' - x-linkedin: StreetLightData + x-linkedin: https://www.linkedin.com/company/asyncapi ``` \ No newline at end of file From d52c96ab71ad0eb53c76a9d42a9cfe4b2e689678 Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Mon, 22 Apr 2024 10:34:40 +0200 Subject: [PATCH 3/3] Update extensions/linkedin.md --- extensions/linkedin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/linkedin.md b/extensions/linkedin.md index 1645332..dae8226 100644 --- a/extensions/linkedin.md +++ b/extensions/linkedin.md @@ -23,7 +23,7 @@ This extension can be used in the following locations: ```yaml asyncapi: '3.0.0' info - title: Strretlights Kafka API + title: AsyncAPI Initiative Example version: '1.0.0' x-linkedin: https://www.linkedin.com/company/asyncapi ``` \ No newline at end of file