mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix validation parameter name in docs, from `regex` to `pattern` (#10085)
This commit is contained in:
parent
7f1dedac2c
commit
c502197d7c
|
|
@ -932,7 +932,7 @@ Validations specific for strings:
|
|||
|
||||
* `min_length`
|
||||
* `max_length`
|
||||
* `regex`
|
||||
* `pattern`
|
||||
|
||||
In these examples you saw how to declare validations for `str` values.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue