orthanc_client_ogen 1.12.8

Orthanc API client library produced by OpenAPI Generator
Documentation

Orthanc API Rust Client by OpenAPI Generator

This crate is a client library for the Orthanc API automatically generated using OpenAPI Generator. With that said, its quality is limited by that of the input OpenAPI specification and openapi-generator-cli.

orthanc_client_ogen contains a client based on reqwest and API request/response model type definitions. It can be used for its models definitions only by disabling default features:

[dependencies]
orthanc_client_ogen = { version = "1", default-features = false }

[!TIP] See orthanc_api, which defines models for what is not covered by Orthanc's OpenAPI schema.

Notes

openapi-generator-cli is chosen over alternatives such as paperclip or progenitor because openapi-generator-cli is tolerant of schema invalidity. See https://discourse.orthanc-server.org/t/openapi-specification-validity/6044