-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Getting a validation error while attempting to parse a document points to a url that does not exist #224
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
@JQrdan thanks for bringing this up. This link is useless at the moment. The only place we could link to is https://github.com/asyncapi/parser-js/tree/master#error-types but I guess the best would be something like https://www.asyncapi.com/docs/parser-js/errors/validation-errors I dug a bit more and noticed we write in JSDocs that validation errors are based on @fmvilas I think this is somehow connected to the overall idea of improving errors in the parser by @magicmatatjahu -> #119. This could be a good candidate for a pitch. |
Absolutely agree that this issue is a great candidate for a pitch. I don't have much time left to write it but feel free to do jump in if you feel in the mood 🙏 |
@fmvilas yeah, not necessarily for this cycle 😉 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
Issue is resolved in v2 ParserJS - now in https://github.com/asyncapi/parser-js/tree/next-major branch thanks to Spectral. Pending to add a test. |
Resolved by #676 |
🎉 This issue has been resolved in version 2.0.0-next-major.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
When trying to parse an invalid api through
parser.parse(api)
, it spits out:The url provided (https://github.com/asyncapi/parser-js/validation-errors) does not exist.
How to Reproduce
See above
Expected behavior
It should point to a page that explains the various validation errors
The text was updated successfully, but these errors were encountered: