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 cpp-pistache-server code does not compile anymore (regression).
The generator produces two different method prototype between .cpp and .h content :
@etherealjoy I'm not sure to understand what you mean (?)
The const specifier is only onto the parameter, meaning that the method will not modify the object passed in argument. No more than that.
This must to be set to be compliant with its header declaration. Are you sure you do not confuse with the const onto the object (class) itself ?
Description
The cpp-pistache-server code does not compile anymore (regression).
The generator produces two different method prototype between .cpp and .h content :
In model/ModelBase.h :
In model/ModelBase.cpp :
openapi-generator version
3.1.0-SNAPSHOT
OpenAPI declaration file content or url
All but here is a small example to facilitate ;)
Command line used for generation
openapi-generator-cli.sh generate -i ./openapi.yaml -g cpp-pistache-server -o .
Steps to reproduce
N/A
Related issues/PRs
N/A
Suggest a fix/enhancement
Declare the method in .cpp in the same way than in the header file
The text was updated successfully, but these errors were encountered: