Skip to content
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

Better control on setter, getter (for boolean, non-boolean) #6177

Merged
merged 2 commits into from
Jul 26, 2017

Conversation

wing328
Copy link
Contributor

@wing328 wing328 commented Jul 26, 2017

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if 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\.
  • Filed the PR against the correct branch: master for non-breaking changes and 3.0.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Add several functions to better control the setter and getter (boolean, non-boolean)

Enhancements to #6169

@tsiq-jfan
Copy link

Hey @wing328, I just found this PR because we want to convert all the isBoolean getters to getBoolean. I'm confused about how I can use this PR to customize that behavior though. We are generating code from swagger yaml files.

@wing328
Copy link
Contributor Author

wing328 commented Jul 3, 2019

@wing328 thanks for tagging me but I'm no longer involved in this project. I hope others will be able to help you out.

@HugoMario
Copy link
Contributor

hello @tsiq-jfan, for what generator (language) you want to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants