1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
use super::*; /// ## The OpenApi document [information object](https://swagger.io/specification/#info-object) #[derive( Debug, PartialEq, Serialize, Deserialize, Clone, Getters, Sparsable, OApiCheck, OApiExt, )] #[getset(get = "pub")] #[serde(rename_all = "camelCase")] pub struct OApiInfo { /// Title of the document title: String, /// Description of the document description: Option<String>, /// Terms of services, if any terms_of_services: Option<String>, /// Persons of contacts for this document contact: Option<OApiContact>, /// License of this document license: Option<OApiLicense>, /// The revision of this document version: String, /// Extensions, if any #[serde(flatten)] #[getset(get)] _extension: HashMap<String, Value>, }