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
21.94k stars 6.59k forks source link

[REQ] [Rust] [Client] Add option to use rustls for reqwest instead of openssl #19853

Open skrcka opened 1 month ago

skrcka commented 1 month ago

Is your feature request related to a problem? Please describe.

Openssl tends to be problematic when crosscompiling. In some cases it's better to just go with rustls.

Describe the solution you'd like

New optional parameter that uses rustls feature instead of openssl for reqwest lib.

Describe alternatives you've considered

Additional context

baszalmstra commented 1 month ago

Ideally there would be features that allow selecting the default.