oreq 0.2.6

The tool for interactively creating curl arguments from OpenAPI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SchemaError {
    #[error("Reference error: failed to resolve reference {0}")]
    ReferenceError(String),
    #[error("Unsupported external reference. Please bundle your schema")]
    UnsupportedExternalReference,
    #[error("Unsupported schema type")]
    UnsupportedSchema,
}