openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[REQ] Disable clippy::too_many_arguments in generated Rust client code.

Open maxnachlinger opened this issue 1 year ago • 0 comments

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

maxnachlinger avatar May 07 '24 22:05 maxnachlinger