✏️ Fix grammar, typos, and broken links in docs (#15694)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Yurii Motov
2026-06-19 11:29:44 +02:00
committed by GitHub
parent c61384e3d7
commit da9d05bc7a
70 changed files with 162 additions and 144 deletions

View File

@@ -16,7 +16,7 @@ For example:
* 403: `status.HTTP_403_FORBIDDEN`
* etc.
It can be convenient to quickly access HTTP (and WebSocket) status codes in your app, using autocompletion for the name without having to remember the integer status codes by memory.
It can be convenient to quickly access HTTP (and WebSocket) status codes in your app, using autocompletion for the name without having to memorize the integer status codes.
Read more about it in the [FastAPI docs about Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).

View File

@@ -50,7 +50,7 @@ When you want to define dependencies that should be compatible with both HTTP an
Additional classes for handling WebSockets.
Provided directly by Starlette, but you can import it from `fastapi`:
Provided directly by Starlette, but you can import them from `fastapi`:
```python
from fastapi.websockets import WebSocketDisconnect, WebSocketState
@@ -60,7 +60,7 @@ from fastapi.websockets import WebSocketDisconnect, WebSocketState
When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it.
You can import it directly form `fastapi`:
You can import it directly from `fastapi`:
```python
from fastapi import WebSocketDisconnect