]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update note in `path-params-numeric-validations.md` (#11672)
authorAlejandra <90076947+alejsdev@users.noreply.github.com>
Sat, 1 Jun 2024 21:05:52 +0000 (16:05 -0500)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2024 21:05:52 +0000 (16:05 -0500)
docs/en/docs/tutorial/path-params-numeric-validations.md

index b5b13cfbe6f818d037196427a23e4268c9a7cc50..ca86ad226c96440b38da4c0fa1e412eb3c95ef1c 100644 (file)
@@ -92,11 +92,7 @@ For example, to declare a `title` metadata value for the path parameter `item_id
     ```
 
 !!! note
-    A path parameter is always required as it has to be part of the path.
-
-    So, you should declare it with `...` to mark it as required.
-
-    Nevertheless, even if you declared it with `None` or set a default value, it would not affect anything, it would still be always required.
+    A path parameter is always required as it has to be part of the path. Even if you declared it with `None` or set a default value, it would not affect anything, it would still be always required.
 
 ## Order the parameters as you need