openapi-generator
openapi-generator copied to clipboard
[REQ] Disable clippy::too_many_arguments in generated Rust client code.
Is your feature request related to a problem? Please describe.
Generated Rust clients often contain functions with > 7 args which violates the Rust clippy too_many_arguments rule.
Describe the solution you'd like
We can simply ignore this rule in generated code via:
#![allow(clippy::too_many_arguments)]
Describe alternatives you've considered
An alternative would be to refactor the client generation to provide an input struct.
Additional context
None