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.
1 parent a504667 commit 5121777Copy full SHA for 5121777
1 file changed
pydantic/fields.py
@@ -287,7 +287,7 @@ def Field(
287
:param unique_items: only applies to lists, requires the field not to have duplicated
288
elements. The schema will have a ``uniqueItems`` validation keyword
289
:param min_length: only applies to strings, requires the field to have a minimum length. The
290
- schema will have a ``maximum`` validation keyword
+ schema will have a ``minLength`` validation keyword
291
:param max_length: only applies to strings, requires the field to have a maximum length. The
292
schema will have a ``maxLength`` validation keyword
293
:param allow_mutation: a boolean which defaults to True. When False, the field raises a TypeError if the field is
0 commit comments