-
Notifications
You must be signed in to change notification settings - Fork 22
chore: changes in different languages for openapi-generator-cli version upgrade #685
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
chore: changes in different languages for openapi-generator-cli version upgrade #685
Conversation
| ///<summary> The test_number_float </summary> | ||
| [JsonProperty("test_number_float")] | ||
| public float? TestNumberFloat { get; private set; } | ||
| public float TestNumberFloat { get; private set; } |
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.
Is this TestNumberFloat mandatory ?
| int? testInteger = null, | ||
| DateTime? testDate = null, | ||
| float? testNumberFloat = null, | ||
| float testNumberFloat = null, |
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.
It seems like, testNumberFloat is mandatory since ? is removed.
But at the same time, we are keeping its default value as null.
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.
the parameter here is non-nullable
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.
I have checked this case and added this commit to handle it correctly.
8dc540b
into
twilio-java-generation-modernisation
Fixes
vendorExtension,x-is-jsonwhich used to be set totrue. That is removed in MVR. Now, we are usingbodyParamsare present or not to detect if the payload is json. This is in coherence with all other helpers as wellPreview PR - chore: preview changes from openapi-generator v7 twilio-csharp#805
Checklist
make test-dockerpython examples/build_twilio_go.py path/to/twilio-oai/spec/yaml path/to/twilio-goand inspect the diffmake testintwilio-gotwilio-goIf you have questions, please create a GitHub Issue in this repository.