forked from loafle/openapi-generator-original
Add missing supporting files when prefix is provided (#4132)
This commit is contained in:
parent
5de0f01150
commit
450153d4e0
@ -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"));
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
4.1.2-SNAPSHOT
|
||||
4.2.0-SNAPSHOT
|
Loading…
x
Reference in New Issue
Block a user