From 9751f94852a1be86ad94b4ea4293445470ef7b48 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Sun, 31 Mar 2024 00:59:59 -0700 Subject: [PATCH] Add missing cfg for the `open-api` feature --- src/auth/jwt/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/jwt/mod.rs b/src/auth/jwt/mod.rs index d76e4f9c..544615f9 100644 --- a/src/auth/jwt/mod.rs +++ b/src/auth/jwt/mod.rs @@ -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]