Skip to content

umccr-illumina/ica-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICA Rust client

Beta OpenAPI generated ICA APIs.

Re-generate client stubs

This crate will use upstream OpenAPI Codegen:

$ brew install openapi-generator
$ openapi-generator generate -i openapi/v1/gds.json -g rust -o gds

Note: Currently openapi-generator sets the version wrongly on Cargo.toml, needs to be fixed manually until next OpenAPI releases that fix it.

Examples

$ cd examples/get_presigned_url
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
     Running `target/debug/ica-get-presigned-url`
https://stratus-gds-aps2.s3.ap-southeast-2.amazonaws.com/1f412... <-- presigned url