From 733218f19996b398c04f4b2c857b80320e8a5873 Mon Sep 17 00:00:00 2001 From: Camila Gutierrez Date: Thu, 5 Nov 2020 23:53:10 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20Fix=20typo=20in=20Tutor?= =?UTF-8?q?ial=20-=20Path=20Parameters=20(#2231)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/path-params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/tutorial/path-params.md b/docs/en/docs/tutorial/path-params.md index 4f59069fd..9c458844d 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.