-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Studio showing errors that are not really there #887
Labels
bug
Something isn't working
Comments
derberg
changed the title
Studion showing errors that are not really there
Studio showing errors that are not really there
Dec 11, 2023
@derberg related to parser-js
@smoya any ideas ? is this related to spectral rules or the parser engine ? |
Im away from keys at this moment, but it seems to me lines are referring to the document after resolving references. Pending to check, obviously. |
This was referenced Jan 1, 2024
ping @smoya |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Studio shows errors that are not errors (however strange it sounds). I do know if it is issue related to parser only or some wrong interpretation of parser errors in studio.
How to Reproduce
Open https://studio.asyncapi.com/?url=https://raw.githubusercontent.com/asyncapi/spec/d78dcea70c9b094a3df72f9a4e811828cec778cc/examples/adeo-kafka-request-reply-asyncapi.yml and you will see some errors that you try to investigate but "they are not really there" - I mean they do not really are problems, and do not need to be solved.
There is only one valid issue with this file, lines 242-245
If you remove above. There are all suddenly no errors anymore and docs get rendered. This issue is related to: asyncapi/spec-json-schemas#466
Expected behavior
I should see that my yaml has error in line 245, that I'm referencing file in wrong format
The text was updated successfully, but these errors were encountered: