Crate progenitor

Source
Expand description

Progenitor is a Rust crate for generating opinionated clients from API descriptions specified in the OpenAPI 3.0.x format. It makes use of Rust futures for async API calls and Streams for paginated interfaces.

It generates a type called Client with methods that correspond to the operations specified in the OpenAPI document.

For details see the repo README

Re-exports§

pub use progenitor_client;

Macros§

generate_api
Generates a client from the given OpenAPI document

Structs§

GenerationSettings
Settings for Generator.
Generator
OpenAPI generator.
TypePatch
Contains a set of modifications that may be applied to an existing type.

Enums§

CrateVers
Specify the version for a named crate to consider for type use (rather than generating types) in the presense of a schema extension.
Error
InterfaceStyle
Style of generated client.
TagStyle
Style for using the OpenAPI tags when generating names in the client.
TypeImpl