IlluzionzDev / typespec

MIT License
0 stars 0 forks source link

Create emitter-framework/java component to handle TypeSpec Model #6

Closed IlluzionzDev closed 2 months ago

IlluzionzDev commented 2 months ago

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.

M1lney commented 2 months ago

I will mark this as done. There are still improvements to be made but we should have enough here to produce a class from a tsp model.