From: Camila Gutierrez Date: Thu, 5 Nov 2020 22:53:10 +0000 (+0100) Subject: ✏️ Fix typo in Tutorial - Path Parameters (#2231) X-Git-Tag: 0.61.2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=733218f19996b398c04f4b2c857b80320e8a5873;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix typo in Tutorial - Path Parameters (#2231) --- diff --git a/docs/en/docs/tutorial/path-params.md b/docs/en/docs/tutorial/path-params.md index 4f59069fd2..9c458844d3 100644 --- a/docs/en/docs/tutorial/path-params.md +++ b/docs/en/docs/tutorial/path-params.md @@ -61,7 +61,7 @@ But if you go to the browser at http://127.0.0.1:8000/items/4.2 +The same error would appear if you provided a `float` instead of an `int`, as in: http://127.0.0.1:8000/items/4.2 !!! check So, with the same Python type declaration, **FastAPI** gives you data validation.