mirror of
https://github.com/tribufu/sdk-rust
synced 2025-06-15 10:44:18 +00:00
* Generate native bindings from rust crate * Add native instance and runtime statics * Update README.md
11 lines
490 B
PowerShell
11 lines
490 B
PowerShell
#!/usr/bin/env pwsh
|
|
|
|
java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
|
-i https://api.tribufu.com/openapi.json `
|
|
-g rust `
|
|
-o . `
|
|
--global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
|
|
--additional-properties=packageName=tribufu,library=reqwest-trait,supportAsync=true,preferUnsignedInt=true `
|
|
--openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated `
|
|
--skip-validate-spec
|