alef 0.84.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Deserialize)]
struct Fixture {
    id: String,
    #[serde(default)]
    mock_response: Option<MockResponse>,
    #[serde(default)]
    http: Option<HttpFixture>,
    /// Route-array fixture schema:
    /// `input.mock_responses[i] = { path?, status_code, headers, body_inline | body_file }`.
    #[serde(default)]
    input: Option<serde_json::Value>,
}