Skip to content

Conversation

@tiwarishubham635
Copy link
Contributor

@tiwarishubham635 tiwarishubham635 commented Sep 23, 2025

Fixes

  1. In C#, for operations having json payload, there used to be a vendorExtension, x-is-json which used to be set to true. That is removed in MVR. Now, we are using bodyParams are present or not to detect if the payload is json. This is in coherence with all other helpers as well
    Preview PR - chore: preview changes from openapi-generator v7 twilio-csharp#805
  2. In Go, certain docs files are getting updated, Preview PR - chore: preview changes from openapi-generator v7 twilio-go#303

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • Run make test-docker
  • Verify affected language:
    • Generate twilio-go from our OpenAPI specification using the build_twilio_go.py using python examples/build_twilio_go.py path/to/twilio-oai/spec/yaml path/to/twilio-go and inspect the diff
    • Run make test in twilio-go
    • Create a pull request in twilio-go
    • Provide a link below to the pull request
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the Contribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

If you have questions, please create a GitHub Issue in this repository.

///<summary> The test_number_float </summary>
[JsonProperty("test_number_float")]
public float? TestNumberFloat { get; private set; }
public float TestNumberFloat { get; private set; }
Copy link
Contributor

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,
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor Author

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.

@tiwarishubham635 tiwarishubham635 merged commit 8dc540b into twilio-java-generation-modernisation Oct 28, 2025
1 of 2 checks passed
@tiwarishubham635 tiwarishubham635 deleted the test_other_helpers branch October 28, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants