From e6da96fbb77595aa7227af3ab5e55dc445ba84ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maciej=20Marz=C4=99ta?= <94maciekm@gmail.com> Date: Tue, 4 Feb 2020 05:04:32 +0100 Subject: [PATCH] :pencil2: Fix typos (#920) --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69bd6a3385..9f9c440978 100644 --- a/README.md +++ b/README.md @@ -319,7 +319,7 @@ Coming back to the previous code example, **FastAPI** will: * Without the `None` it would be required (as is the body in the case with `PUT`). * For `PUT` requests to `/items/{item_id}`, Read the body as JSON: * Check that it has a required attribute `name` that should be a `str`. - * Check that is has a required attribute `price` that has to be a `float`. + * Check that it has a required attribute `price` that has to be a `float`. * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present. * All this would also work for deeply nested JSON objects. * Convert from and to JSON automatically. diff --git a/docs/index.md b/docs/index.md index 69bd6a3385..9f9c440978 100644 --- a/docs/index.md +++ b/docs/index.md @@ -319,7 +319,7 @@ Coming back to the previous code example, **FastAPI** will: * Without the `None` it would be required (as is the body in the case with `PUT`). * For `PUT` requests to `/items/{item_id}`, Read the body as JSON: * Check that it has a required attribute `name` that should be a `str`. - * Check that is has a required attribute `price` that has to be a `float`. + * Check that it has a required attribute `price` that has to be a `float`. * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present. * All this would also work for deeply nested JSON objects. * Convert from and to JSON automatically. -- 2.47.3