openapi-codegen
openapi-codegen copied to clipboard
model.modelPackage should be value from config
adaptor.js sets model.modelPackage to model.name https://github.com/Mermade/openapi-codegen/blob/55246ec01def2f753e07e6b3bfb4bb824082d14d/adaptor.js#L821
As near as I can tell, the python template expects this to be the value from the modelPackage property in the config file.
https://github.com/swagger-api/swagger-codegen/blob/bad1885b4724f39a4c7946b0f90ab028b8085753/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/PythonClientCodegen.java#L470 Is the relevant code section from swagger-codegen