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

feat(rust): support various Rust integer types #2

Merged
merged 6 commits into from
May 26, 2022

Conversation

thrykol
Copy link

@thrykol thrykol commented May 26, 2022

  • Added CLI option to prefer unsigned integers
  • Added CLI option to down cast integers to their best fit
  • toParamName now lower cases to adhere to rustfmt
  • Added unit tests around all new features

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
  • File the PR against the correct branch: master (6.0.1) (patch release), 6.1.x (breaking changes with fallbacks), 7.0.x (breaking changes without fallbacks)
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

|BearerToken||OAS3
|BearerToken||OAS3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this change for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh... thought I had reverted that. It's the result of one of the scripts they want ran before a PR. I'll revert it and then merge.

@thrykol thrykol merged commit f861060 into master May 26, 2022
@thrykol thrykol deleted the feat/support-unsigned-int branch May 26, 2022 16:31
thrykol added a commit that referenced this pull request Jul 25, 2022
…ppy warnings (OpenAPITools#12479)

* feat(rust): support various Rust integer types (#2)

* fix: Use ROOT locale

* fix: unsigned int bounds were incorrect

* fix: deal with potential null value
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