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