asyncapi-react icon indicating copy to clipboard operation
asyncapi-react copied to clipboard

Add an informative stub in case the AsyncAPI document is invalid

Open KrySeyt opened this issue 1 year ago • 2 comments

Description

Hi! I use this component via CDN to generate a schema from json/yaml. Currently, if the AsyncAPI document is invalid, just a blank page is displayed. It would be nice if this component displayed some error information, as in AsyncAPI Studio

CDN version - https://unpkg.com/@asyncapi/[email protected]/browser/standalone/index.js

Reasons

It will be easier to debug the case when nothing is displayed.

KrySeyt avatar Sep 20 '24 11:09 KrySeyt

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.

github-actions[bot] avatar Sep 20 '24 11:09 github-actions[bot]

I think, it could be related to #874

Lancetnik avatar Oct 04 '24 05:10 Lancetnik

@AceTheCreator can you please tell, which CDN version we can use to get access this feature?

Lancetnik avatar Nov 04 '24 12:11 Lancetnik