OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.51k stars 6.27k forks source link

fix(rust-server): remove duplicate allow(unused_imports) directive #18983

Closed nathanielc closed 1 week ago

nathanielc commented 1 week ago

New versions of rust clippy reports errors with duplicate allow directives. This change fixes the duplicate directives in generated rust code.

PR checklist

cc @frol (2017/07) @farcaller (2017/08) @richardwhiuk (2019/07) @paladinzh (2020/05) @jacob-pro (2022/10)

wing328 commented 1 week ago

thanks for the PR, which has been merged