-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Describe the bug.
Cannot generate code from the spec
Something went wrong:
Template render error: (node_modules@asyncapi\generator\node_modules@asyncapi\java-spring-cloud-stream-template\template\src\main\java$$everySchema$$.java) [Line 10, Column 51]
Error: Can't determine the type of property petType
at eval (eval at _compile (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:527:18), :46:11)
at node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:510:9
at eval (eval at _compile (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:527:18), :12:11)
at node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:510:9
at Template.root [as rootRenderFunc] (eval at _compile (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:527:18), :367:3)
at Template.getExported (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:508:10)
at eval (eval at _compile (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:527:18), :11:5)
at Environment.getTemplate (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:225:9)
at Template.root [as rootRenderFunc] (eval at _compile (node_modules@asyncapi\generator\node_modules\nunjucks\src\environment.js:527:18), :9:5)
Expected behavior
Code should be generated
Screenshots
How to Reproduce
ag ../polymorphism.yaml @asyncapi/java-spring-cloud-stream-template
π₯¦ Browser
None
π Have you checked for similar open issues?
- I checked and didn't find similar issue
π’ Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
None
