Kungim
09/03/2025, 7:28 AMItai Gilo
09/03/2025, 8:00 AMswagger.yml should be enough -
what functionality is missing for you?
you can also check the Makefile (in the root directory) for reference -
search for client-java or sdk-rust to see how the openapi-generator is used for these.Kungim
09/03/2025, 8:12 PMKungim
09/03/2025, 8:15 PMItai Gilo
09/03/2025, 8:21 PMKungim
09/04/2025, 7:01 AMItai Gilo
09/04/2025, 9:32 AMItai Gilo
09/04/2025, 9:32 AMsdk-rust: api/swagger.yml ## Generate SDK for Rust client - openapi generator version 7.1.0
rm -rf clients/rust
mkdir -p clients/rust
$(OPENAPI_RUST_GENERATOR) generate \
-i /mnt/api/swagger.yml \
-g rust \
--additional-properties=infoName=Treeverse,infoEmail=services@treeverse.io,packageName=lakefs_sdk,packageVersion=$(PACKAGE_VERSION),packageUrl=<https://github.com/treeverse/lakeFS/tree/master/clients/rust> \
-o /mnt/clients/rust