asyncapi-react
asyncapi-react copied to clipboard
fix: handled the document object being undefined in the parser result.
Description
Changes proposed in this pull request:
- Handled the document object being undefined.
- In the changes proposed the code section throws an error when the document object is undefined.
Related issue(s)
Fixes: #874