oapi 0.1.2

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

/// ## The string format authorized by the OAPI specs
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Sparsable, OApiCheck)]
#[serde(rename_all = "camelCase")]
pub enum OApiStringFormat {
    Byte,
    Binary,
    Date,
    #[serde(rename = "date-time")]
    DateTime,
    Password,
}