-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Add "useSingleRequestParameter" option to Rust client generator #6230
Conversation
modules/openapi-generator/src/main/resources/rust/reqwest/api.mustache
Outdated
Show resolved
Hide resolved
modules/openapi-generator/src/main/resources/rust/reqwest/api.mustache
Outdated
Show resolved
Hide resolved
OK. Will update those. |
@wing328 Thank you! |
#6381 merged into master. Thanks for reporting the issue and suggesting the fix. |
@wing328 Looks good to me. However, I used the Stripe API spec (https://github.com/stripe/openapi/raw/master/openapi/spec3.yaml) for testing, which is quite complex. Trying to compile the generated code resulted in 1256 errors (Rust 1.43.0). This also happens with v4.3.1. Most of these errors boil down to the same 4 or 5 causes. If you have time, I'd really appreciate if you could fix these errors as well. Thank you! |
PR checklist
./bin/
(or Windows batch scripts under.\bin\windows
) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the code or mustache templates for a language ({LANG}
) (e.g. php, ruby, python, etc).master
,4.3.x
,5.0.x
. Default:master
.cc @frol (2017/07) @farcaller (2017/08) @bjgill (2017/12) @richardwhiuk (2019/07) @paladinzh (2020/05)