mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-21 16:20:51 +00:00
* [Rust Server] Fix server example on non-Linux The server example is broken because it tries to import `use openssl::ssl::SslAcceptorBuilder;` unconditionally when it won't be present on MacOS, Windows or iOS and then conditionally provides `create` causing compile errors on the aforementioned platforms. To fix, we simply move the condition from the function to the import and all is happy again :) * Update Samples Co-authored-by: William Cheng <wing328hk@gmail.com>