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
As far as I know, the generator is not yet compliant with the anyOf syntax but I'm not sure of that because the generator does not fail nor warn when it encounter it (?).
On the other hand, the generator produces a C++ code that do not compile, using Object type that has not been defined or mapped ?
One of compile error looks like :
In file included from ./model/Content.h:24:0,
from api/CheckApi.h:29,
from api/CheckApi.cpp:13:
./model/AmfEventArea.h:24:20: fatal error: Object.h: No such file or directory
Fixed at least with current master 3.3.2-SNAPSHOT but I did not notice the exact version that has fixed this issue.
The anyOf is still not well handled but the generated code compile.
Description
As far as I know, the generator is not yet compliant with the anyOf syntax but I'm not sure of that because the generator does not fail nor warn when it encounter it (?).
On the other hand, the generator produces a C++ code that do not compile, using Object type that has not been defined or mapped ?
One of compile error looks like :
See also AmfEventArea.h for Object type usage
Below a sample to easily reproduce the error
openapi-generator version
3.1.1-SNAPSHOT
OpenAPI declaration file content or url
Command line used for generation
Generation
Compilation
Steps to reproduce
Just generate and compile
Related issues/PRs
N/A
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: