Best Practice
Before using light-codegen to scaffold a new project, a specification file must be designed and passed to light-codegen along with a config.json file.
To make the generated code more meaningful, you need to put some design effort into the spec.
Here are some of the best practices for RESTful Swagger 2.0 and OpenAPI 3.0 specifications.