From 8a72d363c84ad04da9eac2ca064d7846b1082c2b Mon Sep 17 00:00:00 2001 From: Roy Hyunjin Han Date: Fri, 26 Aug 2022 10:35:10 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20Fix=20typos=20in=20`docs/en/docs/tu?= =?UTF-8?q?torial/path-params-numeric-validations.md`=20(#5142)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/path-params-numeric-validations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/tutorial/path-params-numeric-validations.md b/docs/en/docs/tutorial/path-params-numeric-validations.md index 4b2e3f973813d..cec54b0fb1289 100644 --- a/docs/en/docs/tutorial/path-params-numeric-validations.md +++ b/docs/en/docs/tutorial/path-params-numeric-validations.md @@ -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`.