forked from loafle/openapi-generator-original
Updated python codegen.
Use File.separatorChar to create invokerPacakge variable instread of '\' char.
This commit is contained in:
parent
654a73c5a8
commit
51887c64b5
@ -27,7 +27,9 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
|
||||
super();
|
||||
|
||||
eggPackage = module + "-python";
|
||||
invokerPackage = eggPackage + "/" + module;
|
||||
|
||||
invokerPackage = eggPackage + "." + module;
|
||||
invokerPackage = invokerPackage.replace('.', File.separatorChar);
|
||||
|
||||
outputFolder = "generated-code/python";
|
||||
modelTemplateFiles.put("model.mustache", ".py");
|
||||
|
Loading…
x
Reference in New Issue
Block a user