Bug Report Checklist
Description
Version: 4.0.2 Docker
The Code Generator creates invalid Code for Model Definitions (Simple Interaction (string<->string seems fine)
OpenAPI declaration file content or url
swagger.zip
Steps to reproduce
- Place swagger.json in the working directory
- Execute Swagger Generator CLI via Docker
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v4.0.2 generate -i local/swagger.json -g cpp-restsdk -o /local/TestApi.Client/
- Try to compile c++ Code
Multiple errors in TestEntity & TestEntityApi

But Code seems fine for this line:
|
web::json::value val = web::json::value::object(); |
Is the cpp-restsdk generator not in the current Version? (Git Tag is also used)

Bug Report Checklist
Description
Version: 4.0.2 Docker
The Code Generator creates invalid Code for Model Definitions (Simple Interaction (string<->string seems fine)
OpenAPI declaration file content or url
swagger.zip
Steps to reproduce
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v4.0.2 generate -i local/swagger.json -g cpp-restsdk -o /local/TestApi.Client/Multiple errors in TestEntity & TestEntityApi
But Code seems fine for this line:
openapi-generator/modules/openapi-generator/src/main/resources/cpp-rest-sdk-client/model-source.mustache
Line 28 in fae9d4a
Is the cpp-restsdk generator not in the current Version? (Git Tag is also used)