Skip to content

Commit

Permalink
make open-api json default
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-rud committed Dec 22, 2024
1 parent 1350956 commit eb6e73e
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 eb6e73e

Please sign in to comment.