openapi code generator - python server stub workflow
An easy workaround is to add openapi_server/controllers in the .openapi-generator-ignore file so that they are not overwritten every time you update your API contract.
You'll have to manually create these files yourself though
I am using openapi-generator to generate server stub python code.
Everything works fine, however, every time I make a change in the OpenAPI specs (the yaml file), the code generator overwrites the whole code, even the one customized (the controller). I would like to develop an incremental workflow, where if I make a change in the specs, the generator modifies the code handling that part of the code only. 
It would be great if I get to the point where I can enforce the specs and also have an incremental workflow.
I am using openapi-generator version 3.3.4. 
I tried to modify the controller and remove # noqa: E501, but it still overwrites the code every time I generate the stub from the specs.
How can I isolate the controller implementation by the generated interface, since the generated code is not OOP?