2 releases

0.1.0-alpha.2 Jan 6, 2021

#686 in Development tools

Download history 10/week @ 2022-03-01 9/week @ 2022-03-08 16/week @ 2022-03-15 26/week @ 2022-03-22 8/week @ 2022-03-29 10/week @ 2022-04-05 10/week @ 2022-04-12 11/week @ 2022-04-19 22/week @ 2022-04-26 21/week @ 2022-05-03 40/week @ 2022-05-10 17/week @ 2022-05-17 24/week @ 2022-05-24 25/week @ 2022-05-31 16/week @ 2022-06-07 16/week @ 2022-06-14

85 downloads per month

Apache-2.0

300KB
5.5K SLoC

opsgenie-rs

This is an unofficial Rust client for OpsGenie API v2.

The client is autogenerated from the OpenAPI definition found in the OpsGenie Python SDK repository.

This library is still in its early stages. The interface could change at any time.

It currently uses reqwest for HTTP calls, but I'm looking into converting this to bring-your-own-http-client.

OpsGenie also provide a repository for the OpenAPI specification, but it doesn't compile.

Generation

The client is generated with OpenAPI Generator v5.0.

java -jar openapi-generator-cli-5.0.0.jar generate \
  --input-spec opsgenie-oas.yml \
  --generator-name rust \
  --config generator.json \
  --type-mappings=DateTime="chrono::DateTime<chrono::offset::Utc>",Date="chrono::Date<chrono::offset::Utc>" \
  --import-mappings="chrono::DateTime<chrono::offset::Utc>",Date="chrono::Date<chrono::offset::Utc>"

Documentation for API Endpoints

See DOCS.md for the autogenerated API documentation.

The official OpsGenie API documentation may come in handy, too.

License

This project is distributed under the terms of the Apache License 2.0. Please see LICENSE for the full text.

Dependencies

~4–13MB
~258K SLoC