Codegen Framework
For more info about the lambda generator, please visit the openapi-lambda-generator.
When using the light-codegen to generate a lambda project, you can use the following config.json as a template.
{
"projectName": "petstore",
"version": "1.0.1",
"groupId": "com.networknt",
"artifactId": "petstore",
"rootPackage": "com.networknt.petstore",
"handlerPackage":"com.networknt.petstore.handler",
"modelPackage":"com.networknt.petstore.model",
"packageDocker": false,
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"generateModelOnly": false
}
The above config.json is in the model-config repo with a README.md for codegen cli.
One of the generated project can be found at light-example-4j/lambda/petstore-zip folder.