I have created a first version of my service and implemented the stubs generated by light-codegen. Now I want to add a new path to my openapi specification. Hence, I run light-codegen with the option overwriteHandler set to false in order to avoid losing my changes on the existing handlers.
I expected that the new handler gets created, but it is not.
Once I set overwriteHandlerto true, the new handler is created but I lose all my changes of the existing handlers.
I have created a first version of my service and implemented the stubs generated by light-codegen. Now I want to add a new
pathto my openapi specification. Hence, I runlight-codegenwith the optionoverwriteHandlerset tofalsein order to avoid losing my changes on the existing handlers.I expected that the new handler gets created, but it is not.
Once I set
overwriteHandlertotrue, the new handler is created but I lose all my changes of the existing handlers.