I have a requirement to automate new application code generation process.
I want to use swagger code gen to generate base spring bootapplication code. I want to achieve generated code should have below
Controller
Controller invoking apiUtil
ApiUtil Invoking service method
respective service method should call respective repository method call
and respective repository methods should perform CRUD operations.
So, I want to generate controller, util, service, repository, Entities and do the wiring. The requirement is to generate end to end base code in spring boot. Now I should be able to use custom mustache templates for doing this.
The outcome I want to achieve is generate springboot code with controller,util,service, respository, model and entity classes and basic standard code available for API endpoints and CRUD operation to NoSql DB so that new application development which is relying on open API can be fast tracked.