satay-codegen 0.1.0

Generate Rust client code from OpenAPI 3.1 documents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Errors that can occur while parsing an OpenAPI document.
///
/// This enum is [`non_exhaustive`](https://doc.rust-lang.org/reference/attributes/type_system.html)
/// so new variants may be added in future releases without a semver break.
#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum ParseError {
    /// Failed to parse the OpenAPI YAML document.
    ///
    /// Error message: `failed to parse OpenAPI YAML document: {0}`
    #[error("failed to parse OpenAPI YAML document: {0}")]
    OpenApiDocument(#[from] yaml_serde::Error),
}