-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
HTML generator not handling circular references correctly #939
Comments
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. |
@synaos-bwi Could you point me where you have problem? I see something like that, where is If you don't see that, please upgrade the generator and/or html template to the latest version. |
please try to add or, try to install AsyncAPI CLI and run generator like
|
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
closing as there was no followup |
Describe the bug
A message that contains a payload with a circular reference is not named correctly, but is named with N being an integer.
VERSION
@asyncapi/cli/0.30.2 win32-x64 node-v16.13.0
How to Reproduce
Call the following CLI command on the attached minimal reproducible example (MRE) and examine the generated html file:
asyncapi generate fromTemplate ./cycle-mwe.yml @asyncapi/html-template -o test.html --force-write
Note: If the content property of Matryoshka in the MRE is commented out, the circluar dependency is removed and the message is named correctly.
Expected behavior
The message is named correctly as stated in the spec file.
The text was updated successfully, but these errors were encountered: