From df0b33b73a86e61d1b8d9e8746c958d13bba8002 Mon Sep 17 00:00:00 2001 From: Kamal Ahmad Date: Thu, 5 Jun 2025 17:12:29 +0500 Subject: [PATCH] fix schemars maxItems being L instead of U --- src/bounded_vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bounded_vec.rs b/src/bounded_vec.rs index 20262a9..021076d 100644 --- a/src/bounded_vec.rs +++ b/src/bounded_vec.rs @@ -664,7 +664,7 @@ mod serde_impl { "type": "array", "items": T::json_schema(gen), "minItems": L as u32, - "maxItems": L as u32 + "maxItems": U as u32 }) } }