ketzal_validation 0.1.0

Declarative models and validation for the Ketzal framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone)]
pub struct OpenApiSchema {
    pub name: String,
    pub title: Option<String>,
    pub description: Option<String>,
    pub example: Option<serde_json::Value>,
    pub read_only: bool,
    pub write_only: bool,
    pub default: Option<serde_json::Value>,
    pub required: Vec<String>,
    pub deprecated: bool,
}