]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Fix typos in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#5142)
authorRoy Hyunjin Han <rhh@crosscompute.com>
Fri, 26 Aug 2022 14:35:10 +0000 (10:35 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2022 14:35:10 +0000 (16:35 +0200)
docs/en/docs/tutorial/path-params-numeric-validations.md

index 4b2e3f973813d8a26664f3fcb40aac927da16d73..cec54b0fb128904a9b834e47fe541b501e67bd66 100644 (file)
@@ -1,6 +1,6 @@
 # Path Parameters and Numeric Validations
 
-The same way you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
+In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
 
 ## Import Path
 
@@ -77,7 +77,7 @@ Python won't do anything with that `*`, but it will know that all the following
 
 ## Number validations: greater than or equal
 
-With `Query` and `Path` (and other's you'll see later) you can declare string constraints, but also number constraints.
+With `Query` and `Path` (and others you'll see later) you can declare number constraints.
 
 Here, with `ge=1`, `item_id` will need to be an integer number "`g`reater than or `e`qual" to `1`.