diff --git a/poem-openapi/src/payload/json.rs b/poem-openapi/src/payload/json.rs index a66a410997..c46562818f 100644 --- a/poem-openapi/src/payload/json.rs +++ b/poem-openapi/src/payload/json.rs @@ -12,7 +12,7 @@ use crate::{ }; /// A JSON payload. -#[derive(Debug, Clone, Eq, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq, Default)] pub struct Json(pub T); impl Deref for Json {