Skip to content

Commit 6e84889

Browse files
committed
Fix CI no-default-features: drop docs() from file_upload example
1 parent 91423b2 commit 6e84889

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

crates/rustapi-rs/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ tracing = { workspace = true }
3333
validator = { workspace = true, optional = true }
3434
rustapi-openapi = { workspace = true, default-features = false }
3535

36+
[[example]]
37+
name = "file_upload"
38+
path = "examples/file_upload.rs"
39+
3640
[dev-dependencies]
3741
rustapi-core = { workspace = true }
3842
rustapi-macros = { workspace = true }

crates/rustapi-rs/examples/file_upload.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
9595
.body_limit(50 * 1024 * 1024)
9696
.layer(BodyLimitLayer::new(50 * 1024 * 1024))
9797
.route("/upload", post(upload_handler))
98-
.docs("/docs")
9998
.run(&addr)
10099
.await
101100
}

0 commit comments

Comments
 (0)