dry-doctor-89148
05/09/2025, 9:07 AMreqwest
default features which uses openssl in all of the SDKs. There is an issue and PR, the latter which wants to overwrite autogenerated files. I guess it could be closed due to this.
I was investigating this aswell, and found the new version of the openapi-generator does help here. Because it creates a Cargo.toml
with reqwests default features disabled.
• openapi-generator Cargo.mustashe
7.12: https://github.com/OpenAPITools/openapi-generator/blob/v7.12.0/modules/openapi-generator/src/main/resources/rust/Cargo.mustache#L72
• openapi-generator Cargo.mustashe
7.13: https://github.com/OpenAPITools/openapi-generator/blob/v7.13.0/modules/openapi-generator/src/main/resources/rust/Cargo.mustache#L72
So bumping the openapi-generator version to 7.13 in the github.com/ory/sdk would solve this (read my) issue 😉
I would've created a PR already, but I am not sure if bumping the version can be done easily without any side effects. Also I am confused, since the README states updating the version should be done in the according pom.xml
files. But the generate.sh script seemingly specifies a version itself upon calling the generator.
Should one just update all the occurences in the script file, is the info in the readme outdated?