asyncapi / asyncapi-react

React component for rendering documentation from your specification in real-time in the browser. It also provides a WebComponent and bundle for Angular and Vue
https://asyncapi.github.io/asyncapi-react/
Apache License 2.0
188 stars 127 forks source link

feat: fix of make @asyncapi/react component with vs asyncapi preview #1082

Closed catosaurusrex2003 closed 1 month ago

catosaurusrex2003 commented 1 month ago

Description Improved the error handling in helpers/parser to convert diagnostics of severity 0 into errors which can be displayed.

This pr is almost same to #1068. It just targets different kind of parsing. ie parseFromUrl method which is used when inside of vs-asyncapi-preview extension.

These are the following changes it does to the vs-asyncapi-preview extension.

Before image

After image

Related issue(s)

1077

and https://github.com/asyncapi/vs-asyncapi-preview/issues/200

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

AceTheCreator commented 1 month ago

/rtm

asyncapi-bot commented 1 month ago

:tada: This PR is included in version 2.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: