Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/v3_0/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ pub struct Schema {
#[serde(skip_serializing_if = "Option::is_none", rename = "minProperties")]
pub min_properties: Option<u32>,

#[serde(skip_serializing_if = "Option::is_none")]
pub deprecated: Option<bool>,

// The following properties are taken from the JSON Schema definition but their
// definitions were adjusted to the OpenAPI Specification.
// - type - Value MUST be a string. Multiple types via an array are not supported.
Expand Down