Open Mrc0113 opened 1 year ago
@Mrc0113 I think the asyncapi doc provided is the one that is successful, yeah? The one with products
removed.
Sorry @CameronRushton, I think this is the right file asyncapiWithProducts.json.zip
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
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 :heart:
Describe the bug
When using this code generator template it was spitting out an unclear error with the attached file asyncapi.zip. However once you remove the
products
part of the schema it works successfully. Since the provided asyncapi file is valid I assume this template does not properly handle schemas that use an object with thearray
type at this level.How to Reproduce
Download attached asyncapi.zip file. Run
ag -o TEST asyncapi.json https://github.com/asyncapi/java-spring-cloud-stream-template.git
Expected behavior
A successful project should be generated