We have light-codegen to support project scaffolding for all the frameworks provided
by light platform. We believe that for enterprise scale and microservices, you have to
adopt design first. There are numeric ways to use light-codegen and here we are just
using it as command line cli tool.
Here is the command line to generate this project from model-config directory. It
assumes that you have light-example-4j cloned in the same working directory and
petstore directory is removed or renamed. If you have changed the specification
and want to regenerate the project, it is better to generate into another folder
and then do a full text comparison to merge the new project into the old project.