Skip to content

Commit

Permalink
Add the missing feature openapi-explorer in ui mod (#480)
Browse files Browse the repository at this point in the history
* Add the missing feature `openapi-explorer` in `ui` mod

* cargo fmt
  • Loading branch information
ZihanType authored Jan 13, 2023
1 parent 9bd08d1 commit 7b56e99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion poem-openapi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down

0 comments on commit 7b56e99

Please sign in to comment.