You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generator does not include the ModelBase.h file whereas it generates code that uses a method that is defined in it (see toJson, toHttpContent, ... etc)
The compilation error looks like :
/home/xxxx/dev/amf/impl-ms1/src/client/client-ms2/gen-cpp/api/Stair1Api.cpp: In member function ‘pplx::task<std::__cxx11::basic_string<char> > com::bcom::amf::microservice::client::ms2::api::Stair1Api::checkGeneration(utility::string_t)’:
/home/xxxx/dev/amf/impl-ms1/src/client/client-ms2/gen-cpp/api/Stair1Api.cpp:98:24: error: ‘ModelBase’ has not been declared
localVarJson = ModelBase::toJson(body);
^
/home/xxxx/dev/amf/impl-ms1/src/client/client-ms2/gen-cpp/api/Stair1Api.cpp:107:32: error: ‘ModelBase’ has not been declared
localVarMultipart->add(ModelBase::toHttpContent("body", body));
^
/home/xxxx/dev/amf/impl-ms1/src/client/client-ms2/gen-cpp/api/Stair1Api.cpp: In lambda function:
/home/xxxx/dev/amf/impl-ms1/src/client/client-ms2/gen-cpp/api/Stair1Api.cpp:155:30: error: ‘ModelBase’ has not been declared
localVarResult = ModelBase::stringFromJson(localVarJson);
^
CMakeFiles/client-ms2.dir/build.make:254: recipe for target 'CMakeFiles/client-ms2.dir/api/Stair1Api.cpp.o' failed
Description
The generator does not include the ModelBase.h file whereas it generates code that uses a method that is defined in it (see toJson, toHttpContent, ... etc)
The compilation error looks like :
openapi-generator version
Current master : 3.3.1-SNAPSHOT
OpenAPI declaration file content or url
Command line used for generation
Generate :
Compile :
Steps to reproduce
Generate & Compile
Related issues/PRs
N/A
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: