Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed May 2, 2024
1 parent 98634d5 commit 4dc5c66
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ impl Example for Slot {
#[oai(example = true)]
pub(crate) struct SlotInfo {
/// Previous slot info.
#[oai(skip_serializing_if_is_none)]
pub(crate) previous: Option<Slot>,

/// Current slot info.
#[oai(skip_serializing_if_is_none)]
pub(crate) current: Option<Slot>,

/// Next slot info.
#[oai(skip_serializing_if_is_none)]
pub(crate) next: Option<Slot>,
}

Expand Down

0 comments on commit 4dc5c66

Please sign in to comment.