diff --git a/src/controller/app_routes.rs b/src/controller/app_routes.rs index 3e88142d6..4520e1955 100644 --- a/src/controller/app_routes.rs +++ b/src/controller/app_routes.rs @@ -22,14 +22,16 @@ use utoipa_swagger_ui::SwaggerUi; #[cfg(feature = "channels")] use super::channels::AppChannels; use super::routes::LocoMethodRouter; -#[cfg(feature = "openapi")] -use crate::controller::{format, Response}; use crate::{ app::{AppContext, Hooks}, - config::OpenAPIType, controller::{middleware::MiddlewareLayer, routes::Routes}, Result, }; +#[cfg(feature = "openapi")] +use crate::{ + config::OpenAPIType, + controller::{format, Response}, +}; static NORMALIZE_URL: OnceLock = OnceLock::new();