-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cpprest] Empty vendorExtension causes build error. #7572
Comments
This is the endpoint. My intuition points me to a float/double problem.
|
Ok I've debugged this and have an answer, working on fix.
|
Usually generated code looks like this. Static FromJson does not exist. But specialized version do!! double result(0.0); Change (in this case) result = ModelBase::FromJson(json) -> ModelBase::doubleFromJson(json); Voila! |
Description
In api-source.mustache at line 384:
may be empty. Causes build error :
as that function doesn't exist.
API used to trigger error : https://esi.tech.ccp.is/latest/swagger.json
Swagger-codegen version
master
Swagger declaration file content or url
https://esi.tech.ccp.is/latest/swagger.json
Command line used for generation
java -jar swagger-codegen-cli.jar generate -i https://esi.tech.ccp.is/latest/swagger.json -l cpprest -o src
Steps to reproduce
Requires PR (to fix other build errors) : #7571
Related issues/PRs
Suggest a fix/enhancement
No suggestions yet.
The text was updated successfully, but these errors were encountered: