Skip to content

Commit

Permalink
make open-api json default (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-rud authored Dec 30, 2024
1 parent 1350956 commit 7b66642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poem-openapi/src/payload/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::{
};

/// A JSON payload.
#[derive(Debug, Clone, Eq, PartialEq)]
#[derive(Debug, Clone, Eq, PartialEq, Default)]
pub struct Json<T>(pub T);

impl<T> Deref for Json<T> {
Expand Down

0 comments on commit 7b66642

Please sign in to comment.