Add missing supporting files when prefix is provided (#4132)

This commit is contained in:
sunn 2019-10-15 08:45:08 +02:00 committed by William Cheng
parent 5de0f01150
commit 450153d4e0
4 changed files with 5 additions and 3 deletions

View File

@ -103,6 +103,8 @@ public class CppQt5ClientCodegen extends CppQt5AbstractCodegen implements Codege
supportingFiles.add(new SupportingFile("helpers-body.mustache", sourceFolder, modelNamePrefix + "Helpers.cpp"));
supportingFiles.add(new SupportingFile("HttpRequest.h.mustache", sourceFolder, modelNamePrefix + "HttpRequest.h"));
supportingFiles.add(new SupportingFile("HttpRequest.cpp.mustache", sourceFolder, modelNamePrefix + "HttpRequest.cpp"));
supportingFiles.add(new SupportingFile("HttpFileElement.h.mustache", sourceFolder, modelNamePrefix + "HttpFileElement.h"));
supportingFiles.add(new SupportingFile("HttpFileElement.cpp.mustache", sourceFolder, modelNamePrefix + "HttpFileElement.cpp"));
supportingFiles.add(new SupportingFile("object.mustache", sourceFolder, modelNamePrefix + "Object.h"));
supportingFiles.add(new SupportingFile("enum.mustache", sourceFolder, modelNamePrefix + "Enum.h"));

View File

@ -228,7 +228,7 @@ fromStringValue(const QString &inStr, {{prefix}}Enum &value){
}
bool
fromStringValue(const QString &inStr, OAIHttpFileElement &value){
fromStringValue(const QString &inStr, {{prefix}}HttpFileElement &value){
return value.fromStringValue(inStr);
}

View File

@ -228,7 +228,7 @@ fromStringValue(const QString &inStr, {{prefix}}Enum &value){
}
bool
fromStringValue(const QString &inStr, OAIHttpFileElement &value){
fromStringValue(const QString &inStr, {{prefix}}HttpFileElement &value){
return value.fromStringValue(inStr);
}

View File

@ -1 +1 @@
4.1.2-SNAPSHOT
4.2.0-SNAPSHOT