docs: typos and examples fixes (#11954)

* docs: typos and examples fixes

* fix notification example
This commit is contained in:
Shahed Nasser
2025-03-24 09:33:22 +02:00
committed by GitHub
parent c6f2f444ed
commit 2ec59ddadc
18 changed files with 11639 additions and 11661 deletions
@@ -10,7 +10,7 @@ In this chapter, youll learn about middlewares and how to create them.
A middleware is a function executed when a request is sent to an API Route. It's executed before the route handler function.
Middlwares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
Middlewares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
<Note title="Tip">
@@ -133,7 +133,7 @@ For example, if you omit the `a` parameter, you'll receive a `400` response code
---
## How to Validate Request Query Paramters
## How to Validate Request Query Parameters
The steps to validate the request query parameters are the similar to that of [validating the body](#how-to-validate-request-body).