We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
min_properties
maxProperties
1 parent a024aca commit 0339786Copy full SHA for 0339786
utoipa-gen/src/component/features.rs
@@ -205,7 +205,7 @@ impl ToTokensDiagnostics for Feature {
205
quote! { .max_properties(Some(#max_properties)) }
206
}
207
Feature::MinProperties(min_properties) => {
208
- quote! { .max_properties(Some(#min_properties)) }
+ quote! { .min_properties(Some(#min_properties)) }
209
210
Feature::SchemaWith(schema_with) => schema_with.to_token_stream(),
211
Feature::Description(description) => quote! { .description(Some(#description)) },
0 commit comments