Skip to content

Commit

Permalink
Remove Some
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyak2 committed Dec 30, 2024
1 parent 92eedef commit 6d22a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oapi-macros/src/schema/struct_schemas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl TryToTokens for NamedStructSchema<'_> {
.unwrap_or(false)
{
tokens.extend(quote! {
.additional_properties(Some(#oapi::oapi::schema::AdditionalProperties::FreeForm(false)))
.additional_properties(#oapi::oapi::schema::AdditionalProperties::FreeForm(false))
});
}

Expand Down

0 comments on commit 6d22a6f

Please sign in to comment.