Skip to content

Commit

Permalink
Add missing cfg for the open-api feature
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Mar 31, 2024
1 parent 7f05101 commit 9751f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auth/jwt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ where
}

// Required in order to use `Jwt` in an Aide route.
#[cfg(feature = "open-api")]
impl OperationInput for Jwt {}

#[async_trait]
Expand Down

0 comments on commit 9751f94

Please sign in to comment.