From b03482cfb1ed89e18d83e195e2a932716e571e6d Mon Sep 17 00:00:00 2001 From: 1cbyc Date: Sun, 8 Mar 2026 11:31:14 +0000 Subject: [PATCH] docs: fix grammar in additional-status-codes.md Change 'allows to update items' to 'allows you to update items' for better grammar and readability. Fixes #15054 --- docs/en/docs/advanced/additional-status-codes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/advanced/additional-status-codes.md b/docs/en/docs/advanced/additional-status-codes.md index 3b6da23557..48a749c2d1 100644 --- a/docs/en/docs/advanced/additional-status-codes.md +++ b/docs/en/docs/advanced/additional-status-codes.md @@ -8,7 +8,7 @@ It will use the default status code or the one you set in your *path operation*. If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly. -For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful. +For example, let's say that you want to have a *path operation* that allows you to update items, and returns HTTP status codes of 200 "OK" when successful. But you also want it to accept new items. And when the items didn't exist before, it creates them, and returns an HTTP status code of 201 "Created".