Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Sep 10, 2024
1 parent bb7349a commit 995906b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oapi-macros/src/schema_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ impl TryToTokens for Type<'_> {
#[cfg(feature="non-strict-integers")]
"u32" => tokens.extend(quote! { #oapi::oapi::SchemaFormat::KnownFormat(#oapi::oapi::KnownFormat::UInt32) }),
#[cfg(feature="non-strict-integers")]
"u64" => tokens.extend(quote! { #oapi::SchemaFormat::KnownFormat(#oapi::oapi::KnownFormat::UInt64) }),
"u64" => tokens.extend(quote! { #oapi::oapi::SchemaFormat::KnownFormat(#oapi::oapi::KnownFormat::UInt64) }),

#[cfg(not(feature="non-strict-integers"))]
"i8" | "i16" | "u8" | "u16" | "u32" => {
Expand Down

0 comments on commit 995906b

Please sign in to comment.