Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Sep 19, 2023
1 parent 9281ce0 commit a734c0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ pub async fn root() -> &'static str {
"Hello Bob!"
}

#[derive(OpenApi)]
#[openapi(
#[cfg_attr(feature = "swagger", derive(OpenApi))]
#[cfg_attr(feature = "swagger", openapi(
paths(root),
tags(
(name = "bob", description = "BOB management API")
)
)]
))]
pub struct ApiDoc;
/// Generate openapi documentation for the project
#[cfg(feature = "swagger")]
Expand Down

0 comments on commit a734c0a

Please sign in to comment.