Closed kbolino closed 9 months ago
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.
@kbolino thanks for reporting this issue. We will fix this disabling AsyncAPI preview for non asyncapi files.
So while debugging I found out that the isAsyncapi value could have caused the issue->
Should I open a pull request?
:tada: This issue has been resolved in version 0.6.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the bug
If I try to preview a JSON schema file which has no connection to AsyncAPI, I get a white page with black text that says only:
How to Reproduce
Create a file
test.schema.json
with the following content:Then click the "Preview AsyncAPI" button or Cmd+Shift+P (macOS) and select the option.
This appears to be identical to this issue from a similar plugin for IDEA.
Expected behavior
Either the preview option should be unavailable (because it doesn't work on this file type) or, even better, I should see a nice overview of the schema (assuming it was not trivial, like the example I gave).