oapi 0.1.2

OpenApi document parser
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

/// ## A selector between the inclusive or exclusive way to express lower numeric bound
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Sparsable, OApiCheck)]
pub enum OApiNumericMinimum {
    #[serde(rename = "minimum")]
    Inclusive(u64),
    #[serde(rename = "exclusiveMinimum")]
    Exclusive(u64),
}