forked from loafle/openapi-generator-original
Use actual value of generateSourceCodeOnly in python generator. (#2015)
This commit is contained in:
committed by
William Cheng
parent
28768244d6
commit
dd3e6c6a3b
@@ -194,7 +194,7 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
|
||||
|
||||
Boolean generateSourceCodeOnly = false;
|
||||
if (additionalProperties.containsKey(CodegenConstants.SOURCECODEONLY_GENERATION)) {
|
||||
generateSourceCodeOnly = true;
|
||||
generateSourceCodeOnly = Boolean.valueOf(additionalProperties.get(CodegenConstants.SOURCECODEONLY_GENERATION).toString());
|
||||
}
|
||||
|
||||
additionalProperties.put(CodegenConstants.PROJECT_NAME, projectName);
|
||||
|
||||
Reference in New Issue
Block a user