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
I apologise if this isn't strictly a "Docs" bug, but there's what appears to be a small typo in one of the error messages. I figure that's closer to being a "Docs" issue than it is a functionality one.
At generator.js, line 264 the error message currently reads 'Input is not a corrent AsyncAPI document so it cannot be processed.' "Corrent" isn't a word in English, so this message could be a little bit clearer. Is it meant to be "correct", or "current", or something else? My suspicion (given the context) is that it is meant to be "correct", although I would recommend updating it to be "valid" as that seems like a slightly more appropriate word.
I'm happy to make the PR if there's concensus on what the right wording is - just let me know whether this is a "docs:" or a "chore:" commit.
Attach any resources that can help us understand the issue.
if (!document) {
const err = new Error('Input is not a corrent AsyncAPI document so it cannot be processed.');
err.diagnostics = diagnostics;
throw err;
}
Code of Conduct
I agree to follow this project's Code of Conduct
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.
@derberg Looks like Jonas bundled this change up with a bunch of other stuff 2 days after I raised it (in 60f8e62 ). I'm happy with that resolution, so closing the issue. Cheers!
Describe the bug you found in AsyncAPI Docs.
I apologise if this isn't strictly a "Docs" bug, but there's what appears to be a small typo in one of the error messages. I figure that's closer to being a "Docs" issue than it is a functionality one.
At generator.js, line 264 the error message currently reads 'Input is not a corrent AsyncAPI document so it cannot be processed.' "Corrent" isn't a word in English, so this message could be a little bit clearer. Is it meant to be "correct", or "current", or something else? My suspicion (given the context) is that it is meant to be "correct", although I would recommend updating it to be "valid" as that seems like a slightly more appropriate word.
I'm happy to make the PR if there's concensus on what the right wording is - just let me know whether this is a "docs:" or a "chore:" commit.
Attach any resources that can help us understand the issue.
Code of Conduct
The text was updated successfully, but these errors were encountered: