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
- Host: GitHub
- URL: https://github.com/brainstorm/ica-rs
- Owner: brainstorm
- Created: 2022-05-27T06:57:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T10:38:52.000Z (over 3 years ago)
- Last Synced: 2025-03-19T05:31:23.545Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 562 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```