Skip to content

Commit

Permalink
docs(readme): grammar fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
  • Loading branch information
Fdawgs authored Jan 10, 2025
1 parent 2346cdd commit 929dca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ app.inject({
})
```

Different content types responses are supported by `@fastify/response-validation`, `@fastify/swagger` and `fastify`. Please use `content` for the response otherwise Fastify itself will fail to compile the schema:
Different content types responses are supported by `@fastify/response-validation`, `@fastify/swagger`, and `fastify`. Please use `content` for the response otherwise Fastify itself will fail to compile the schema:
```js
{
response: {
Expand Down Expand Up @@ -110,7 +110,7 @@ const ajv = new Ajv()
await fastify.register(responseValidator, { ajv })
```

By default the response validation is enabled on every route that has a response schema defined. If needed you can disable it all together with `responseValidation: false`:
By default, the response validation is enabled on every route that has a response schema defined. If needed you can disable it all together with `responseValidation: false`:
```js
import responseValidator from '@fastify/response-validation'

Expand Down

0 comments on commit 929dca1

Please # to comment.