oapi/objects/schema/numeric_minimum.rs
1use super::*;
2
3/// ## A selector between the inclusive or exclusive way to express lower numeric bound
4#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Sparsable, OApiCheck)]
5pub enum OApiNumericMinimum {
6 #[serde(rename = "minimum")]
7 Inclusive(u64),
8 #[serde(rename = "exclusiveMinimum")]
9 Exclusive(u64),
10}