You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many optional yet valuable parameters in the Async API specification can improve the developer experience. Like example, description, format, etc. When working with many specifications, I was asked, "How good is our documentation?". How do I measure if my documentation is good, mediocre, insufficient, or 1-100?
I propose a new command like score or evaluate that will reuse existing warnings and errors from the validate command. The command will extend the list of best practices and generate some final/aggregated scores. Hints that will increase the score should be provided.
A couple of examples
if the specification has servers, then it increases the score
if the specification has descriptions, then it increases the score
if the specification has examples, then it increases the score
if the specification has a format, then it increases the score
if the specification has channels, then it increases the score
if the specification has operations, then it increases the score
if the specification has a license, then it increases the score
We can evaluate these parameters and based on the parameter, we can showcase the quality of the asyncapi in the studio.
The text was updated successfully, but these errors were encountered:
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
@AayushSaini101 IMHO the quality of the AsyncAPI file is subjective. Some do not mention the server at all, this makes sense for them since they have only one server so why bother? Some only document the channels and it makes sense for their use case.
In the end, it is up to the user and how they use the Specification.
Many optional yet valuable parameters in the Async API specification can improve the developer experience. Like example, description, format, etc. When working with many specifications, I was asked, "How good is our documentation?". How do I measure if my documentation is good, mediocre, insufficient, or 1-100?
I propose a new command like score or evaluate that will reuse existing warnings and errors from the validate command. The command will extend the list of best practices and generate some final/aggregated scores. Hints that will increase the score should be provided.
A couple of examples
We can evaluate these parameters and based on the parameter, we can showcase the quality of the asyncapi in the studio.
The text was updated successfully, but these errors were encountered: