From 4d130c56aa4bfe38dcdb8665957a8299de43a654 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 21:38:04 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= 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 d364f9eaee..3309b1bd7e 100644 --- a/docs/en/docs/tutorial/path-params.md +++ b/docs/en/docs/tutorial/path-params.md @@ -16,7 +16,7 @@ So, if you run this example and go to [http://127.0.0.1:8000/items/foo](http://1 Path parameters are always received as strings from the URL. -Without a type annotation, `item_id` will be treated as a `str`. +Without a type annotation, `item_id` will be treated as a `str`. By adding a type (e.g. `int`), **FastAPI** will automatically: - convert the value to the correct type - validate the input