✏️ Fix typo in fastapi/params.py (#12143)

This commit is contained in:
Vaibhav authored and GitHub committed 2024-09-06 20:06:20 +02:00
1 parent bde12faea2
commit b60d36e753
1 file changed
+1 -1
+1 -1
View File
@@ -556,7 +556,7 @@ class Body(FieldInfo):
kwargs["examples"] = examples
if regex is not None:
warnings.warn(
"`regex` has been depreacated, please use `pattern` instead",
"`regex` has been deprecated, please use `pattern` instead",
category=DeprecationWarning,
stacklevel=4,
)