An open API service indexing awesome lists of open source software.

https://github.com/brainstorm/ica-rs

ICA Rust OpenAPI
https://github.com/brainstorm/ica-rs

Last synced: about 1 year ago
JSON representation

ICA Rust OpenAPI

Awesome Lists containing this project

README

          

# ICA Rust client

Beta OpenAPI generated ICA APIs.

# Re-generate client stubs

This crate will use upstream OpenAPI Codegen:

```shell
$ 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

```shell
$ 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
```