-
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] number type with unspecified format build fails #7906
Comments
@murzic4 |
@etherealjoy |
@murzic4 Also thanks for suggesting the patch. |
…with unspecified format (double)
@etherealjoy |
…with unspecified format (double)
Description
Hi
Few days ago I faced issue that swagger-codegen doesn't correctly generate cpprest code for type "number" with no format specified and type "string" format "uuid".
today I have checked with the last release (swagger-codegen-cli-2.3.1.jar) and it looks like that issue with uuid is solved, but the problem with "number" is still exist
Swagger-codegen version
2.3.1
Swagger declaration file content or url
yaml file attached to the ticket (echo.yaml.log) , the issue with the code generated for the following description:
Command line used for generation
java -jar swagger-codegen-cli.jar generate -l cpprest -o ./out -i ./echo.yaml
Steps to reproduce
to execute command above for the yaml file echo.yaml.log
Related issues/PRs
0001-cpprest-add-parameterToString-for-number-type-with-u.patch.log
echo.yaml.log
Suggest a fix/enhancement
please find possible patch here 0001-cpprest-add-parameterToString-for-number-type-with-u.patch.log
The text was updated successfully, but these errors were encountered: