summaryrefslogtreecommitdiffstats
path: root/generator/src/openapi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'generator/src/openapi.rs')
-rw-r--r--generator/src/openapi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/src/openapi.rs b/generator/src/openapi.rs
index 35dd9ba..0678b59 100644
--- a/generator/src/openapi.rs
+++ b/generator/src/openapi.rs
@@ -1079,6 +1079,9 @@ pub struct Schema {
pub xml: Option<Xml>,
pub external_docs: Option<ExternalDocs>,
pub example: Option<serde_json::Value>,
+
+ #[serde(flatten)]
+ pub extensions: BTreeMap<String, serde_json::Value>,
}
impl JsonDeref for Schema {