Skip to content

Commit

Permalink
more prelude changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Jan 15, 2025
1 parent d7d8774 commit 4958d36
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ pub mod model {
feature = "openapi_redoc",
feature = "openapi_scalar"
))]
pub use utoipa::{path, OpenApi, ToSchema};
pub use utoipa;
#[cfg(any(
feature = "openapi_swagger",
feature = "openapi_redoc",
feature = "openapi_scalar"
))]
pub use utoipa::{openapi::*, path, schema, OpenApi, ToSchema};
#[cfg(any(
feature = "openapi_swagger",
feature = "openapi_redoc",
Expand Down

0 comments on commit 4958d36

Please sign in to comment.