From 7b56e99df205a1414dbe200f6c34e880a382d6ff Mon Sep 17 00:00:00 2001 From: ZihanType <47711605+ZihanType@users.noreply.github.com> Date: Fri, 13 Jan 2023 08:57:55 +0800 Subject: [PATCH] Add the missing feature `openapi-explorer` in `ui` mod (#480) * Add the missing feature `openapi-explorer` in `ui` mod * cargo fmt --- poem-openapi/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/poem-openapi/src/lib.rs b/poem-openapi/src/lib.rs index e3eed217da..f995381e82 100644 --- a/poem-openapi/src/lib.rs +++ b/poem-openapi/src/lib.rs @@ -131,7 +131,12 @@ pub mod validation; mod base; mod openapi; -#[cfg(any(feature = "swagger-ui", feature = "rapidoc", feature = "redoc"))] +#[cfg(any( + feature = "swagger-ui", + feature = "rapidoc", + feature = "redoc", + feature = "openapi-explorer" +))] mod ui; pub use base::{