[BUG] generator gives Generation failed with diffferent templatesinstalled ` #1361
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug.
I am trying to generate some code from the example asyncapi contract.
When generating is get constantly the same error
Generator Error
Expected behavior
I would expect some java or html code to be generated depending on the template used.
Screenshots
Results when i do the generation with 3 different templates
Code generation for
java-template
$ asyncapi generate fromTemplate ./src/main/contracts/kafka-example.yml @asyncapi/java-template -o ./target
Code generation for
java-spring-template
$ asyncapi generate fromTemplate ./src/main/contracts/kafka-example.yml @asyncapi/java-spring-template -o ./target
Code generation for
html-template
$ asyncapi generate fromTemplate ./src/main/contracts/kafka-example.yml @asyncapi/html-template -o ./target
How to Reproduce
Using latest version according the installation guide: https://www.asyncapi.com/docs/tools/generator/installation-guide
I am using the example kafka file from: https://raw.githubusercontent.com/asyncapi/java-spring-template/master/tests/mocks/kafka.yml
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: