-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Fix Bug with decimal literal in C# #1436
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
Fix Bug with decimal literal in C# #1436
Conversation
Bring my fork up to date with base
Catch up to mothership
|
cc @OpenAPITools/generator-core-team as the change impacts ModelUtils class. |
| return p.getDefault().toString() + "D"; | ||
| } else { | ||
| return p.getDefault().toString(); | ||
| } else { // decimal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wheezil please use space instead of tab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, should be GTG now.
PS: I'll be back to this project pretty soon, just got assigned to some other stuff for a while. I appreciate you keeping my PR moving.
wing328
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…s#1436) * Trivial change to kick PR again * Fix issue 1433 (default decimal literal broken for C#) * Replace tab with space * update samples
PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\.master,3.4.x,4.0.x. Default:master.@mandrean @jimschubert
Description of the PR
Fixes #1433