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: tutorial - validate asyncapi document with cli #1341

Closed
wants to merge 6 commits into from

Conversation

Aysha-py
Copy link

Description

Added an Introduction and background context content for the file cli-documentation-validation.md

image

Related issue(s)
Fixes #1094

@netlify
Copy link

netlify bot commented Feb 14, 2023

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9b96842
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/6407e88ae36c7500086ac2eb
😎 Deploy Preview https://deploy-preview-1341--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented Feb 14, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 57
🟠 Accessibility 88
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1341--asyncapi-website.netlify.app/

@octonawish-akcodes
Copy link
Contributor

octonawish-akcodes commented Feb 14, 2023

In your PR title use "added" instead of "Added", Bot has commented about the same :)
The PR title should start with a small letter.

@Aysha-py Aysha-py changed the title docs: Added Introduction and background context for AsyncAPI validati… docs: added Introduction and background context for AsyncAPI validati… Feb 14, 2023
AsyncAPI document enables people or machines communicating with one another to comprehend the capabilities of an event-driven API without requiring access to the source code, documentation, or network traffic inspection.
The document allows developers to define the structure of their API, the format of the API, the events to which consumers can subscribe, and the response they receive when these events are triggered or an action is taken. AsyncAPI documents are represented as JSON objects that follow the JSON.

## Installation Guide
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey! where is the tutorial? 😂 Please steps showing how to validate an AsyncAPI document with the CLI.

also, you can find the install instructions for AsyncAPI CLI in it's repo: https://github.com/asyncapi/cli/blob/master/docs/installation.md

that said, you should prob use our fragment that was created exactly for this: https://github.com/asyncapi/website/blob/master/assets/docs/fragments/cli-installation.md

You can add that fragment with the following snippet...

import CliInstallation from '../../../assets/docs/fragments/cli-installation.md' 

<CliInstallation/>

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tutorial will be included soon. I like to get feedback as I work on the documentation bit by bit to avoid going off track. Thank you for the feedback and assistance @alequetzalli

@quetzalliwrites quetzalliwrites changed the title docs: added Introduction and background context for AsyncAPI validati… docs: tutorial - validate asyncapi document with cli Feb 22, 2023
@github-actions
Copy link

github-actions bot commented Jul 7, 2023

This pull request has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Jul 7, 2023
Copy link
Contributor

@AnimeshKumar923 AnimeshKumar923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,17 @@
---
title: 'Validate AsyncApi documents with CLI commands'
description: 'This tutorial will teach you how to validate AsynApi document using CLI commands'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: 'This tutorial will teach you how to validate AsynApi document using CLI commands'
description: 'This tutorial will teach you how to validate AsyncAPI document using CLI commands'

@@ -0,0 +1,17 @@
---
title: 'Validate AsyncApi documents with CLI commands'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: 'Validate AsyncApi documents with CLI commands'
title: 'Validate AsyncAPI documents with CLI commands'


## Background context

An AsyncAPI document is a file that defines and describes the various components of a message-based or event-driven API. Event-driven APIs are a type of asynchronous API that allows consumers to subscribe to events of interest. It adheres to an architecture in which events are fired or triggered. These triggers occur when a producer detects a state change caused by a user's device or an action taken by the user. The producer is an application that sense state changes and produces these changes as messages.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
An AsyncAPI document is a file that defines and describes the various components of a message-based or event-driven API. Event-driven APIs are a type of asynchronous API that allows consumers to subscribe to events of interest. It adheres to an architecture in which events are fired or triggered. These triggers occur when a producer detects a state change caused by a user's device or an action taken by the user. The producer is an application that sense state changes and produces these changes as messages.
An AsyncAPI document is a file that defines and describes the various components of a message-based or event-driven API. Event-driven APIs are a type of asynchronous API that allows consumers to subscribe to events of interest. It adheres to an architecture in which events are fired or triggered. These triggers occur when a producer detects a state change caused by a user's device or an action taken by the user. The producer is an application that senses state changes and produces these changes as messages.

An AsyncAPI document is a file that defines and describes the various components of a message-based or event-driven API. Event-driven APIs are a type of asynchronous API that allows consumers to subscribe to events of interest. It adheres to an architecture in which events are fired or triggered. These triggers occur when a producer detects a state change caused by a user's device or an action taken by the user. The producer is an application that sense state changes and produces these changes as messages.

AsyncAPI document enables people or machines communicating with one another to comprehend the capabilities of an event-driven API without requiring access to the source code, documentation, or network traffic inspection.
The document allows developers to define the structure of their API, the format of the API, the events to which consumers can subscribe, and the response they receive when these events are triggered or an action is taken. AsyncAPI documents are represented as JSON objects that follow the JSON.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The document allows developers to define the structure of their API, the format of the API, the events to which consumers can subscribe, and the response they receive when these events are triggered or an action is taken. AsyncAPI documents are represented as JSON objects that follow the JSON.
The document allows developers to define the structure of their API, the format of their API, the events to which consumers can subscribe, and the response they receive when these events are triggered, or an action is taken. AsyncAPI documents are represented as JSON objects that follow the JSON.
  • their should be better as it has been just used before
  • represented as JSON objects that follow the JSON that follow JSON format? <- Is this correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AnimeshKumar923, yes, it is. I was working on this issue, but I got confused with the method to validate AsyncAPI documents using the CLI.

However, I have conducted research that helped me understand the Command Line Interface, and I just want to confirm with @alequetzalli if I can still continue to work on this issue.

@github-actions github-actions bot removed the stale label Jul 8, 2023
@AnimeshKumar923
Copy link
Contributor

any updates on this @Aysha-py?
cc: @alequetzalli

@sambhavgupta0705
Copy link
Member

@Aysha-py any update???

@quetzalliwrites
Copy link
Member

There is not need to review this draft PR because the author never completed her work. There is no tutorial steps or code snippets added. As it has been a year since the author left this incomplete, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[📑 Docs]: new tutorial 'validate AsyncAPI document with CLI'
5 participants