In emitter-framework/java there should be a component along the lines of ModelDeclaration.
This should take a TypeSpec Model type from the TypeSpec compiler, and generate a Java class based on this model. The Model should have everything you need such as the name, fields, types etc. The output should be a java model class with a constructor for each field, that can then be instantiated inside our route controllers.
In
emitter-framework/java
there should be a component along the lines ofModelDeclaration
.This should take a TypeSpec
Model
type from the TypeSpec compiler, and generate a Java class based on this model. TheModel
should have everything you need such as the name, fields, types etc. The output should be a java model class with a constructor for each field, that can then be instantiated inside our route controllers.