feat: Add support for aide
This commit is contained in:
@@ -25,6 +25,7 @@ use std::ops::{Deref, DerefMut};
|
||||
/// If using arguments, you must pass the arguments to Garde extractor via state, meaning implementing `FromRef<StateType>` for your validation arguments type.
|
||||
///
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
#[cfg_attr(feature = "aide", derive(aide::OperationIo))]
|
||||
pub struct Garde<E>(pub E);
|
||||
|
||||
impl<E> Deref for Garde<E> {
|
||||
|
||||
Reference in New Issue
Block a user